Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007552/0.0007552, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007782/0.0007782, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8479/0.8479, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.799e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5139/0.5139, allocations: 143.8 MB / 1.14 GB, free: 10.24 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.5176, allocations: 4.185 MB / 1.144 GB, free: 7.449 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.5177, allocations: 13.44 kB / 1.144 GB, free: 7.441 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.5181, allocations: 132.1 kB / 1.144 GB, free: 7.355 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0009162/0.519, allocations: 0.5669 MB / 1.145 GB, free: 7.059 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.5201, allocations: 0.8325 MB / 1.146 GB, free: 6.648 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.5206, allocations: 0.5521 MB / 1.146 GB, free: 6.395 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.5208, allocations: 138.8 kB / 1.146 GB, free: 6.336 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.5219, allocations: 0.731 MB / 1.147 GB, free: 6.012 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.5226, allocations: 277.4 kB / 1.147 GB, free: 5.922 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.5226, allocations: 17.34 kB / 1.147 GB, free: 5.922 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.5236, allocations: 0.8693 MB / 1.148 GB, free: 5.598 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.5237, allocations: 92.52 kB / 1.148 GB, free: 5.559 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/0.5238, allocations: 89.05 kB / 1.148 GB, free: 5.523 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.5247, allocations: 0.7238 MB / 1.149 GB, free: 5.293 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5247, allocations: 1.062 kB / 1.149 GB, free: 5.293 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5247, allocations: 0 / 1.149 GB, free: 5.293 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5247, allocations: 0 / 1.149 GB, free: 5.293 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007228/0.5254, allocations: 0.5336 MB / 1.15 GB, free: 4.863 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5254, allocations: 10 kB / 1.15 GB, free: 4.863 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.5255, allocations: 53.92 kB / 1.15 GB, free: 4.812 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.5259, allocations: 81.39 kB / 1.15 GB, free: 4.789 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.5262, allocations: 231.1 kB / 1.15 GB, free: 4.605 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5262, allocations: 12.25 kB / 1.15 GB, free: 4.602 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.5262, allocations: 21 kB / 1.15 GB, free: 4.594 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.5266, allocations: 283.2 kB / 1.15 GB, free: 4.438 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.5266, allocations: 1.125 kB / 1.15 GB, free: 4.438 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.5267, allocations: 13.73 kB / 1.15 GB, free: 4.426 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5267, allocations: 5.375 kB / 1.15 GB, free: 4.426 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.527, allocations: 211.2 kB / 1.151 GB, free: 4.363 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.528, allocations: 1.155 MB / 1.152 GB, free: 3.426 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.5282, allocations: 171.3 kB / 1.152 GB, free: 3.277 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.5283, allocations: 112.2 kB / 1.152 GB, free: 3.211 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.5287, allocations: 101.8 kB / 1.152 GB, free: 3.203 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5287, allocations: 39.28 kB / 1.152 GB, free: 3.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.5287, allocations: 1.094 kB / 1.152 GB, free: 3.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0004802/0.5292, allocations: 280.6 kB / 1.152 GB, free: 3.051 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.5292, allocations: 166 kB / 1.153 GB, free: 2.855 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.5294, allocations: 281.2 kB / 1.153 GB, free: 2.703 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.5295, allocations: 30.83 kB / 1.153 GB, free: 2.668 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.5295, allocations: 154.5 kB / 1.153 GB, free: 2.535 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.5296, allocations: 42.39 kB / 1.153 GB, free: 2.504 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.5296, allocations: 43.88 kB / 1.153 GB, free: 2.477 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.5297, allocations: 340.6 kB / 1.153 GB, free: 2.148 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5298, allocations: 62.92 kB / 1.153 GB, free: 2.137 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.53, allocations: 253.5 kB / 1.154 GB, free: 1.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.5303, allocations: 215.3 kB / 1.154 GB, free: 1.785 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5303, allocations: 0 / 1.154 GB, free: 1.785 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003331/0.5306, allocations: 253 kB / 1.154 GB, free: 1.676 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5306, allocations: 6.219 kB / 1.154 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5306, allocations: 3.078 kB / 1.154 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5306, allocations: 3.094 kB / 1.154 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5307, allocations: 38.67 kB / 1.154 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5307, allocations: 7.578 kB / 1.154 GB, free: 1.668 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.5308, allocations: 38.09 kB / 1.154 GB, free: 1.645 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5309, allocations: 10.03 kB / 1.154 GB, free: 1.645 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001229/0.531, allocations: 153.4 kB / 1.154 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.5311, allocations: 24.17 kB / 1.154 GB, free: 1.496 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.5315, allocations: 188.2 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5315, allocations: 2.531 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5315, allocations: 1.797 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5315, allocations: 2.797 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.5321, allocations: 0.8 MB / 1.155 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5321, allocations: 1.656 kB / 1.155 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.5322, allocations: 29.44 kB / 1.155 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5322, allocations: 3.344 kB / 1.155 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5322, allocations: 6.656 kB / 1.155 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5322, allocations: 6.797 kB / 1.155 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5322, allocations: 2.891 kB / 1.155 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.5326, allocations: 334.8 kB / 1.156 GB, free: 464 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.5326, allocations: 35.62 kB / 1.156 GB, free: 444 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.5327, allocations: 7.031 kB / 1.156 GB, free: 440 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.5328, allocations: 15.34 kB / 1.156 GB, free: 432 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5328, allocations: 15.56 kB / 1.156 GB, free: 428 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.5328, allocations: 4.906 kB / 1.156 GB, free: 428 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001771/0.533, allocations: 233.5 kB / 1.156 GB, free: 300 kB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.533, allocations: 0 / 1.156 GB, free: 300 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003033/0.5333, allocations: 98.66 kB / 1.156 GB, free: 280 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0007858/0.5341, allocations: 0.9792 MB / 1.157 GB, free: 15.48 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5343, allocations: 152.6 kB / 1.157 GB, free: 15.44 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5343, allocations: 1.719 kB / 1.157 GB, free: 15.44 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.5344, allocations: 56.89 kB / 1.157 GB, free: 15.42 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5348, allocations: 120.1 kB / 1.157 GB, free: 15.39 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.5379, allocations: 2.739 MB / 1.16 GB, free: 13.51 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.5381, allocations: 147.7 kB / 1.16 GB, free: 13.43 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.5383, allocations: 69.62 kB / 1.16 GB, free: 13.41 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5384, allocations: 74 kB / 1.16 GB, free: 13.36 MB / 1.026 GB Notification: Performance of SimCode: time 5.11e-07/0.5384, allocations: 0 / 1.16 GB, free: 13.36 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5625, allocations: 9.564 MB / 1.17 GB, free: 11.78 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/7.12, allocations: 5.391 kB / 1.17 GB, free: 11.78 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.013644707389176]