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.001451/0.001451, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001598/0.001598, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.02 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.911/2.911, allocations: 476.8 MB / 0.7707 GB, free: 4.297 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.002072/0.002072, allocations: 65.55 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3381, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2065/0.5446, allocations: 166.8 MB / 1.446 GB, free: 4.164 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007162/0.5518, allocations: 4.658 MB / 1.451 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.5522, allocations: 11.88 kB / 1.451 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.5528, allocations: 131.1 kB / 1.451 GB, free: 15.36 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5544, allocations: 0.5718 MB / 1.452 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.5565, allocations: 0.8183 MB / 1.452 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009172/0.5575, allocations: 0.5846 MB / 1.453 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.5579, allocations: 176.8 kB / 1.453 GB, free: 13.21 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.559, allocations: 486.2 kB / 1.454 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007489/0.5598, allocations: 310.9 kB / 1.454 GB, free: 12.43 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.5598, allocations: 19.94 kB / 1.454 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.5621, allocations: 1.114 MB / 1.455 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.5623, allocations: 91.72 kB / 1.455 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.5625, allocations: 123.4 kB / 1.455 GB, free: 11.08 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5644, allocations: 0.7171 MB / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5644, allocations: 0 / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5644, allocations: 0 / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.5645, allocations: 0 / 1.456 GB, free: 10.36 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.001347/0.5658, allocations: 0.5368 MB / 1.456 GB, free: 9.797 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5659, allocations: 12.03 kB / 1.456 GB, free: 9.785 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.958e-05/0.5659, allocations: 50.55 kB / 1.456 GB, free: 9.727 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.5667, allocations: 75.73 kB / 1.456 GB, free: 9.652 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.5672, allocations: 249.7 kB / 1.457 GB, free: 9.383 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5672, allocations: 23.89 kB / 1.457 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.5673, allocations: 16 kB / 1.457 GB, free: 9.344 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.5678, allocations: 279.3 kB / 1.457 GB, free: 9.043 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5678, allocations: 3.938 kB / 1.457 GB, free: 9.039 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.5679, allocations: 15.94 kB / 1.457 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5679, allocations: 4 kB / 1.457 GB, free: 9.02 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.5683, allocations: 203.7 kB / 1.457 GB, free: 8.82 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.5702, allocations: 1.21 MB / 1.458 GB, free: 7.539 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.5705, allocations: 169 kB / 1.459 GB, free: 7.328 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.5708, allocations: 108.2 kB / 1.459 GB, free: 7.207 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/0.5715, allocations: 112 kB / 1.459 GB, free: 7.098 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5715, allocations: 30.56 kB / 1.459 GB, free: 7.059 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.5715, allocations: 3.938 kB / 1.459 GB, free: 7.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008215/0.5723, allocations: 289.5 kB / 1.459 GB, free: 6.766 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.5724, allocations: 158.2 kB / 1.459 GB, free: 6.574 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.5728, allocations: 284.2 kB / 1.46 GB, free: 6.289 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5728, allocations: 25.7 kB / 1.46 GB, free: 6.258 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.573, allocations: 155.9 kB / 1.46 GB, free: 6.102 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.573, allocations: 39.64 kB / 1.46 GB, free: 6.062 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.5731, allocations: 45.83 kB / 1.46 GB, free: 6.012 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5733, allocations: 338.8 kB / 1.46 GB, free: 5.672 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.5734, allocations: 67.94 kB / 1.46 GB, free: 5.605 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.5737, allocations: 148.5 kB / 1.46 GB, free: 5.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.5741, allocations: 211.5 kB / 1.461 GB, free: 5.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5741, allocations: 0 / 1.461 GB, free: 5.195 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005564/0.5746, allocations: 249.4 kB / 1.461 GB, free: 4.945 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5747, allocations: 8.062 kB / 1.461 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5747, allocations: 4 kB / 1.461 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5747, allocations: 4 kB / 1.461 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.5749, allocations: 39.91 kB / 1.461 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5749, allocations: 4 kB / 1.461 GB, free: 4.887 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.5751, allocations: 35.7 kB / 1.461 GB, free: 4.852 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.5751, allocations: 12 kB / 1.461 GB, free: 4.84 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.0001615/0.5753, allocations: 149.8 kB / 1.461 GB, free: 4.684 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5755, allocations: 23.86 kB / 1.461 GB, free: 4.66 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.5759, allocations: 194.2 kB / 1.461 GB, free: 4.453 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.576, allocations: 4 kB / 1.461 GB, free: 4.449 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.576, allocations: 0 / 1.461 GB, free: 4.449 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.576, allocations: 7.938 kB / 1.461 GB, free: 4.441 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.5772, allocations: 0.8267 MB / 1.462 GB, free: 3.547 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5772, allocations: 4 kB / 1.462 GB, free: 3.543 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5773, allocations: 23.92 kB / 1.462 GB, free: 3.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5773, allocations: 0 / 1.462 GB, free: 3.52 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5773, allocations: 4 kB / 1.462 GB, free: 3.516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.5773, allocations: 7.938 kB / 1.462 GB, free: 3.508 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5773, allocations: 0 / 1.462 GB, free: 3.508 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.5779, allocations: 339.6 kB / 1.462 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.578, allocations: 43.83 kB / 1.462 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.5781, allocations: 4 kB / 1.462 GB, free: 3.098 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.5782, allocations: 11.98 kB / 1.462 GB, free: 3.086 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.5783, allocations: 7.984 kB / 1.462 GB, free: 3.078 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.5783, allocations: 4 kB / 1.462 GB, free: 3.074 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002703/0.5786, allocations: 239 kB / 1.463 GB, free: 2.84 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5786, allocations: 0 / 1.463 GB, free: 2.84 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004895/0.579, allocations: 103.7 kB / 1.463 GB, free: 2.738 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.001281/0.5803, allocations: 0.9706 MB / 1.464 GB, free: 1.727 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.5808, allocations: 152.2 kB / 1.464 GB, free: 1.578 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5808, allocations: 0 / 1.464 GB, free: 1.578 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.5809, allocations: 59.78 kB / 1.464 GB, free: 1.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/0.5817, allocations: 133.4 kB / 1.464 GB, free: 1.391 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.5856, allocations: 2.779 MB / 1.467 GB, free: 14.45 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.586, allocations: 0.7518 MB / 1.468 GB, free: 13.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.5862, allocations: 62.94 kB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.5864, allocations: 79.41 kB / 1.468 GB, free: 13.54 MB / 1.17 GB Notification: Performance of SimCode: time 8.72e-07/0.5864, allocations: 0 / 1.468 GB, free: 13.54 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.6303, allocations: 8.783 MB / 1.476 GB, free: 4.957 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.17, allocations: 1.719 kB / 1.476 GB, free: 4.957 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.016985224094242]