Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001626/0.001626, allocations: 98.08 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.001469/0.001469, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.001962/0.001962, allocations: 62.83 kB / 1.118 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.214/0.568, allocations: 166.8 MB / 1.447 GB, free: 4.246 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007178/0.5752, allocations: 4.638 MB / 1.452 GB, free: 15.6 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.5756, allocations: 15.88 kB / 1.452 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.5762, allocations: 139 kB / 1.452 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.5778, allocations: 0.5718 MB / 1.452 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.5802, allocations: 0.8131 MB / 1.453 GB, free: 14.06 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009869/0.5811, allocations: 0.5924 MB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.5815, allocations: 168 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5827, allocations: 486.2 kB / 1.454 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.5834, allocations: 318.8 kB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.5834, allocations: 16 kB / 1.455 GB, free: 12.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.5857, allocations: 1.111 MB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.5859, allocations: 91.7 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.586, allocations: 127.3 kB / 1.456 GB, free: 11.17 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.5874, allocations: 0.7166 MB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5874, allocations: 7.984 kB / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5874, allocations: 0 / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5874, allocations: 4 kB / 1.457 GB, free: 10.44 MB / 1.154 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.0013/0.5887, allocations: 0.5313 MB / 1.457 GB, free: 9.875 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.5888, allocations: 8.031 kB / 1.457 GB, free: 9.867 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.379e-05/0.5888, allocations: 4 kB / 1.457 GB, free: 9.863 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.729e-05/0.5889, allocations: 62.42 kB / 1.457 GB, free: 9.793 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.5898, allocations: 79.78 kB / 1.457 GB, free: 9.715 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.5903, allocations: 241.6 kB / 1.457 GB, free: 9.453 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.5903, allocations: 12 kB / 1.458 GB, free: 9.441 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.5904, allocations: 24 kB / 1.458 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.5911, allocations: 283.2 kB / 1.458 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5911, allocations: 0 / 1.458 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.5911, allocations: 7.938 kB / 1.458 GB, free: 9.105 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.5911, allocations: 8 kB / 1.458 GB, free: 9.098 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.5916, allocations: 207.7 kB / 1.458 GB, free: 8.895 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.5936, allocations: 1.214 MB / 1.459 GB, free: 7.609 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.5939, allocations: 169 kB / 1.459 GB, free: 7.398 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.5941, allocations: 108.2 kB / 1.459 GB, free: 7.277 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/0.5948, allocations: 99.88 kB / 1.46 GB, free: 7.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5948, allocations: 42.67 kB / 1.46 GB, free: 7.129 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.5948, allocations: 0 / 1.46 GB, free: 7.129 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008315/0.5957, allocations: 281.2 kB / 1.46 GB, free: 6.848 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5958, allocations: 166.1 kB / 1.46 GB, free: 6.648 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.5962, allocations: 292.2 kB / 1.46 GB, free: 6.355 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.5962, allocations: 26.2 kB / 1.46 GB, free: 6.324 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5963, allocations: 155.9 kB / 1.46 GB, free: 6.168 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.5964, allocations: 47.64 kB / 1.461 GB, free: 6.121 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.5965, allocations: 41.7 kB / 1.461 GB, free: 6.074 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5967, allocations: 326.8 kB / 1.461 GB, free: 5.746 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5969, allocations: 67.94 kB / 1.461 GB, free: 5.68 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.5971, allocations: 151 kB / 1.461 GB, free: 5.504 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.5975, allocations: 211.5 kB / 1.461 GB, free: 5.27 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5975, allocations: 0 / 1.461 GB, free: 5.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005572/0.5981, allocations: 249.2 kB / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5981, allocations: 4 kB / 1.462 GB, free: 5.016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5981, allocations: 4.375 kB / 1.462 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5981, allocations: 0 / 1.462 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.5983, allocations: 43.91 kB / 1.462 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5983, allocations: 0 / 1.462 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.5985, allocations: 43.64 kB / 1.462 GB, free: 4.926 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.5986, allocations: 12.3 kB / 1.462 GB, free: 4.914 MB / 1.154 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.0001692/0.5987, allocations: 149.8 kB / 1.462 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5989, allocations: 27.84 kB / 1.462 GB, free: 4.73 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.5994, allocations: 185.8 kB / 1.462 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5995, allocations: 4 kB / 1.462 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5995, allocations: 64 / 1.462 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.5995, allocations: 7.938 kB / 1.462 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.6006, allocations: 0.8306 MB / 1.463 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6006, allocations: 3.938 kB / 1.463 GB, free: 3.617 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.6007, allocations: 23.98 kB / 1.463 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6007, allocations: 0 / 1.463 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6007, allocations: 4 kB / 1.463 GB, free: 3.59 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.6007, allocations: 4.141 kB / 1.463 GB, free: 3.586 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.6007, allocations: 8 kB / 1.463 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.6013, allocations: 339.5 kB / 1.463 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.6014, allocations: 39.77 kB / 1.463 GB, free: 3.176 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.6015, allocations: 11.92 kB / 1.463 GB, free: 3.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6016, allocations: 8 kB / 1.463 GB, free: 3.156 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.6017, allocations: 7.984 kB / 1.463 GB, free: 3.148 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6017, allocations: 4 kB / 1.463 GB, free: 3.145 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002709/0.602, allocations: 239.1 kB / 1.463 GB, free: 2.91 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.602, allocations: 4 kB / 1.463 GB, free: 2.906 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005182/0.6025, allocations: 95.8 kB / 1.464 GB, free: 2.812 MB / 1.154 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.001543/0.604, allocations: 0.9861 MB / 1.465 GB, free: 1.785 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.6045, allocations: 143.8 kB / 1.465 GB, free: 1.645 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6045, allocations: 0 / 1.465 GB, free: 1.645 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.6046, allocations: 59.89 kB / 1.465 GB, free: 1.586 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.6054, allocations: 132.1 kB / 1.465 GB, free: 1.461 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.6101, allocations: 2.775 MB / 1.468 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.6106, allocations: 0.7557 MB / 1.468 GB, free: 13.74 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.6108, allocations: 70.95 kB / 1.468 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.611, allocations: 79.41 kB / 1.468 GB, free: 13.6 MB / 1.17 GB Notification: Performance of SimCode: time 7.12e-07/0.611, allocations: 0 / 1.468 GB, free: 13.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.6497, allocations: 8.814 MB / 1.477 GB, free: 5.004 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.42, allocations: 9.188 kB / 1.477 GB, free: 4.996 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.32615794299636]