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.001376/0.001376, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001519/0.001519, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.903/2.903, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",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.001755/0.001755, allocations: 63.55 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.286, allocations: 179 MB / 1.345 GB, free: 396 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1777/0.4637, allocations: 166.8 MB / 1.508 GB, free: 8.918 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.4693, allocations: 4.646 MB / 1.513 GB, free: 4.266 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.4696, allocations: 11.88 kB / 1.513 GB, free: 4.254 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.47, allocations: 131 kB / 1.513 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.4713, allocations: 0.5718 MB / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.4733, allocations: 0.8252 MB / 1.514 GB, free: 2.727 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007214/0.474, allocations: 0.5768 MB / 1.515 GB, free: 2.148 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.4743, allocations: 169.3 kB / 1.515 GB, free: 1.98 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.4757, allocations: 0.6968 MB / 1.516 GB, free: 1.281 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.4763, allocations: 306.8 kB / 1.516 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.4763, allocations: 24 kB / 1.516 GB, free: 0.957 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.4781, allocations: 1.107 MB / 1.517 GB, free: 15.85 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4782, allocations: 95.72 kB / 1.517 GB, free: 15.75 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.4783, allocations: 123.3 kB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.4793, allocations: 0.7244 MB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4793, allocations: 0 / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4793, allocations: 0 / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4793, allocations: 0 / 1.518 GB, free: 14.91 MB / 1.217 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.0008814/0.4802, allocations: 0.5353 MB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4802, allocations: 11.97 kB / 1.519 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.4802, allocations: 4 kB / 1.519 GB, free: 14.32 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.4803, allocations: 66.42 kB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.4809, allocations: 79.73 kB / 1.519 GB, free: 14.17 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.4813, allocations: 229.7 kB / 1.519 GB, free: 13.92 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4813, allocations: 12 kB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.4813, allocations: 20 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.4818, allocations: 292.1 kB / 1.519 GB, free: 13.58 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4818, allocations: 4 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.4819, allocations: 7.938 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4819, allocations: 4 kB / 1.519 GB, free: 13.56 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.4823, allocations: 207.7 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.4838, allocations: 1.206 MB / 1.521 GB, free: 12.08 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4841, allocations: 161.2 kB / 1.521 GB, free: 11.88 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.4843, allocations: 124.1 kB / 1.521 GB, free: 11.74 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.4849, allocations: 103.9 kB / 1.521 GB, free: 11.64 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.485, allocations: 34.56 kB / 1.521 GB, free: 11.6 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.485, allocations: 3.938 kB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0007424/0.4857, allocations: 277.6 kB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.4858, allocations: 162.1 kB / 1.521 GB, free: 11.12 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.4861, allocations: 292.2 kB / 1.522 GB, free: 10.83 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.4861, allocations: 29.7 kB / 1.522 GB, free: 10.79 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4862, allocations: 147.9 kB / 1.522 GB, free: 10.64 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4862, allocations: 47.59 kB / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.4863, allocations: 45.83 kB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4865, allocations: 334.8 kB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.4866, allocations: 67.94 kB / 1.522 GB, free: 10.14 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.4868, allocations: 144.5 kB / 1.522 GB, free: 9.973 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.4872, allocations: 211.5 kB / 1.523 GB, free: 9.738 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4872, allocations: 4 kB / 1.523 GB, free: 9.734 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004873/0.4877, allocations: 241.8 kB / 1.523 GB, free: 9.492 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4877, allocations: 12.03 kB / 1.523 GB, free: 9.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4877, allocations: 0 / 1.523 GB, free: 9.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4877, allocations: 4 kB / 1.523 GB, free: 9.477 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4879, allocations: 39.86 kB / 1.523 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4879, allocations: 4 kB / 1.523 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.4881, allocations: 39.7 kB / 1.523 GB, free: 9.395 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.4881, allocations: 8 kB / 1.523 GB, free: 9.387 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.0001401/0.4883, allocations: 153.8 kB / 1.523 GB, free: 9.227 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.4884, allocations: 27.86 kB / 1.523 GB, free: 9.199 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.4888, allocations: 189.8 kB / 1.523 GB, free: 8.992 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4888, allocations: 64 / 1.523 GB, free: 8.992 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4889, allocations: 8 kB / 1.523 GB, free: 8.984 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4889, allocations: 7.875 kB / 1.523 GB, free: 8.977 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000959/0.4898, allocations: 0.8151 MB / 1.524 GB, free: 8.094 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4898, allocations: 3.938 kB / 1.524 GB, free: 8.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.4899, allocations: 31.91 kB / 1.524 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4899, allocations: 4 kB / 1.524 GB, free: 8.055 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.49, allocations: 0 / 1.524 GB, free: 8.055 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.49, allocations: 4 kB / 1.524 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.49, allocations: 0 / 1.524 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.4905, allocations: 343.6 kB / 1.525 GB, free: 7.684 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.4906, allocations: 43.88 kB / 1.525 GB, free: 7.641 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.4906, allocations: 3.938 kB / 1.525 GB, free: 7.637 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4908, allocations: 15.98 kB / 1.525 GB, free: 7.621 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.4908, allocations: 11.92 kB / 1.525 GB, free: 7.609 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.4908, allocations: 4 kB / 1.525 GB, free: 7.605 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002309/0.491, allocations: 235 kB / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.491, allocations: 4 kB / 1.525 GB, free: 7.371 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004101/0.4914, allocations: 91.81 kB / 1.525 GB, free: 7.281 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.001092/0.4925, allocations: 0.9818 MB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.4929, allocations: 156.1 kB / 1.526 GB, free: 6.105 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4929, allocations: 0 / 1.526 GB, free: 6.105 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4931, allocations: 55.91 kB / 1.526 GB, free: 6.051 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007354/0.4938, allocations: 136.4 kB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.4971, allocations: 2.763 MB / 1.529 GB, free: 3 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.4974, allocations: 0.7596 MB / 1.53 GB, free: 2.215 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000172/0.4976, allocations: 70.97 kB / 1.53 GB, free: 2.148 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4977, allocations: 71.41 kB / 1.53 GB, free: 2.078 MB / 1.217 GB Notification: Performance of SimCode: time 2.91e-07/0.4977, allocations: 4 kB / 1.53 GB, free: 2.074 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.5293, allocations: 8.823 MB / 1.538 GB, free: 9.445 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.13, allocations: 7.172 kB / 1.538 GB, free: 9.441 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: 17.15638051298447]