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.001449/0.001449, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001627/0.001627, allocations: 212.2 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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 2.956/2.956, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 69.88 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1653/0.4683, allocations: 143.9 MB / 1.504 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005415/0.4737, allocations: 4.23 MB / 1.508 GB, free: 9.402 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.474, allocations: 15.88 kB / 1.508 GB, free: 9.387 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.4744, allocations: 127.1 kB / 1.508 GB, free: 9.262 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4756, allocations: 0.5601 MB / 1.509 GB, free: 8.699 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4773, allocations: 0.8002 MB / 1.51 GB, free: 7.898 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006655/0.478, allocations: 0.5807 MB / 1.51 GB, free: 7.316 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.4783, allocations: 169.4 kB / 1.51 GB, free: 7.145 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.4796, allocations: 0.6733 MB / 1.511 GB, free: 6.469 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.4802, allocations: 298.9 kB / 1.511 GB, free: 6.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.4802, allocations: 16 kB / 1.511 GB, free: 6.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.4816, allocations: 0.8609 MB / 1.512 GB, free: 5.297 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4817, allocations: 87.72 kB / 1.512 GB, free: 5.211 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.4818, allocations: 103.5 kB / 1.512 GB, free: 5.109 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.4828, allocations: 0.6854 MB / 1.513 GB, free: 4.422 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4828, allocations: 0 / 1.513 GB, free: 4.422 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4828, allocations: 0 / 1.513 GB, free: 4.422 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4828, allocations: 0 / 1.513 GB, free: 4.422 MB / 1.201 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.0009447/0.4837, allocations: 0.5292 MB / 1.513 GB, free: 3.863 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4838, allocations: 12.03 kB / 1.513 GB, free: 3.852 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.4838, allocations: 46.55 kB / 1.513 GB, free: 3.797 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/0.4845, allocations: 83.69 kB / 1.514 GB, free: 3.715 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.4849, allocations: 233.7 kB / 1.514 GB, free: 3.461 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4849, allocations: 16 kB / 1.514 GB, free: 3.445 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.4849, allocations: 16 kB / 1.514 GB, free: 3.43 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.4854, allocations: 300.1 kB / 1.514 GB, free: 3.109 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4855, allocations: 0 / 1.514 GB, free: 3.109 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.4855, allocations: 7.938 kB / 1.514 GB, free: 3.102 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4855, allocations: 11.94 kB / 1.514 GB, free: 3.09 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.4859, allocations: 203.5 kB / 1.514 GB, free: 2.891 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4875, allocations: 1.17 MB / 1.515 GB, free: 1.648 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.4878, allocations: 165 kB / 1.516 GB, free: 1.441 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.488, allocations: 112.3 kB / 1.516 GB, free: 1.316 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/0.4886, allocations: 103.9 kB / 1.516 GB, free: 1.215 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4886, allocations: 38.56 kB / 1.516 GB, free: 1.168 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.4886, allocations: 0 / 1.516 GB, free: 1.168 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007367/0.4894, allocations: 285.5 kB / 1.516 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.4895, allocations: 162.2 kB / 1.516 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.4898, allocations: 284.2 kB / 1.517 GB, free: 416 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.4898, allocations: 33.7 kB / 1.517 GB, free: 376 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4899, allocations: 147.9 kB / 1.517 GB, free: 224 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.4899, allocations: 39.64 kB / 1.517 GB, free: 184 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.49, allocations: 45.7 kB / 1.517 GB, free: 132 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4902, allocations: 342.7 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.4903, allocations: 68.06 kB / 1.517 GB, free: 15.72 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.4906, allocations: 247.3 kB / 1.517 GB, free: 15.42 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.491, allocations: 215.5 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.491, allocations: 0 / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004938/0.4915, allocations: 249.2 kB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4915, allocations: 8 kB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4915, allocations: 0 / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4915, allocations: 4.25 kB / 1.518 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.4917, allocations: 43.97 kB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4917, allocations: 7.984 kB / 1.518 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.4919, allocations: 31.75 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.4919, allocations: 15.98 kB / 1.518 GB, free: 14.82 MB / 1.217 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.0001331/0.4921, allocations: 145.8 kB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.4922, allocations: 27.81 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.4926, allocations: 189.8 kB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4926, allocations: 0 / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4926, allocations: 4 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4926, allocations: 8.25 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.4936, allocations: 0.8112 MB / 1.519 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4936, allocations: 0 / 1.519 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4938, allocations: 31.86 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4938, allocations: 3.938 kB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4938, allocations: 4 kB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4938, allocations: 4 kB / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4938, allocations: 160 / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.4943, allocations: 339.5 kB / 1.52 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.4944, allocations: 43.7 kB / 1.52 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.4944, allocations: 4 kB / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4946, allocations: 11.98 kB / 1.52 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.4946, allocations: 11.92 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4946, allocations: 4 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002394/0.4949, allocations: 239.1 kB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.4949, allocations: 4 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004285/0.4953, allocations: 95.86 kB / 1.52 GB, free: 12.74 MB / 1.217 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.001098/0.4964, allocations: 0.9623 MB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.4968, allocations: 159.7 kB / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4968, allocations: 0 / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4969, allocations: 52.72 kB / 1.521 GB, free: 11.53 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.4977, allocations: 152.2 kB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.501, allocations: 2.763 MB / 1.524 GB, free: 8.461 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.5011, allocations: 146.2 kB / 1.524 GB, free: 8.301 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000191/0.5013, allocations: 70.92 kB / 1.524 GB, free: 8.23 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.5014, allocations: 75.42 kB / 1.524 GB, free: 8.156 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.5014, allocations: 0 / 1.524 GB, free: 8.156 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.5379, allocations: 9.65 MB / 1.534 GB, free: 14.74 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.86, allocations: 9.312 kB / 1.534 GB, free: 14.73 MB / 1.232 GB " [Timeout remaining time 289] (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/jenkins1/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: 16.888360671699047]