Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 67.89 kB / 0.8694 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5109, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001707/0.5126, allocations: 0.8848 MB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.5135, allocations: 0.8975 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.5135, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.5136, allocations: 15.8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.5136, allocations: 11.88 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.5138, allocations: 59.91 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.5139, allocations: 135.7 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.514, allocations: 61.44 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.5141, allocations: 55.72 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.5141, allocations: 55.77 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.5141, allocations: 12 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.792e-05/0.5142, allocations: 16 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.5142, allocations: 35.84 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.5142, allocations: 55.66 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.5144, allocations: 143.5 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.5144, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.41e-07/0.5144, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.5144, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004739/0.5149, allocations: 446.6 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.396e-05/0.5149, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.5149, allocations: 46.73 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.515, allocations: 20.75 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.5151, allocations: 208.1 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.5151, allocations: 8.375 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.5152, allocations: 12.38 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.5154, allocations: 146.2 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.5154, allocations: 7.938 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.5154, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5155, allocations: 7.938 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.5157, allocations: 131.9 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.5163, allocations: 492 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.5165, allocations: 86.48 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.5166, allocations: 49.02 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.5166, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.5167, allocations: 38.56 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.5167, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003901/0.5171, allocations: 161.4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.5171, allocations: 51.41 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.5172, allocations: 199.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.5173, allocations: 29.7 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.5173, allocations: 111.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5173, allocations: 31.55 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.5174, allocations: 29.66 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.5175, allocations: 330.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.5176, allocations: 39.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.5177, allocations: 39.97 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.5179, allocations: 96.75 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5179, allocations: 3.938 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002842/0.5182, allocations: 147.3 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.5183, allocations: 9.406 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5183, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.5183, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.5184, allocations: 23.98 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.5184, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/0.5185, allocations: 27.77 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5185, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.5186, allocations: 129.7 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.5187, allocations: 15.81 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.519, allocations: 135 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.519, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.519, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.519, allocations: 3.984 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.5195, allocations: 452.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5195, allocations: 7.984 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5196, allocations: 23.92 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5196, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5196, allocations: 7.984 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5196, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5196, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.5199, allocations: 245.9 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.52, allocations: 93.02 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.52, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.5201, allocations: 16.17 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5202, allocations: 15.92 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.5202, allocations: 11.88 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.5203, allocations: 144.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5203, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002277/0.5205, allocations: 31.84 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005062/0.521, allocations: 0.7754 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.5213, allocations: 99.88 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5213, allocations: 4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.5214, allocations: 47.91 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5217, allocations: 23.94 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.5235, allocations: 1.882 MB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.5237, allocations: 0.7084 MB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.5237, allocations: 17.08 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.5238, allocations: 39.42 kB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5238, allocations: 0 / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.548, allocations: 2.759 MB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/17.74, allocations: 7.031 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches