Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.001257/0.001257, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001393/0.001393, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.072/3.072, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.002151/0.002151, allocations: 65.5 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1811/0.543, allocations: 149.4 MB / 1.491 GB, free: 9.945 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008412/0.5514, allocations: 6.544 MB / 1.498 GB, free: 3.387 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/0.5518, allocations: 19.81 kB / 1.498 GB, free: 3.367 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.5524, allocations: 182.7 kB / 1.498 GB, free: 3.188 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.5555, allocations: 1.295 MB / 1.499 GB, free: 1.887 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.5572, allocations: 0.6624 MB / 1.5 GB, free: 1.227 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009361/0.5581, allocations: 0.768 MB / 1.5 GB, free: 468 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.5585, allocations: 231.2 kB / 1.501 GB, free: 232 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5601, allocations: 0.7435 MB / 1.501 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.5609, allocations: 450.4 kB / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.561, allocations: 28 kB / 1.502 GB, free: 15.01 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.5629, allocations: 1.052 MB / 1.503 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.563, allocations: 119.6 kB / 1.503 GB, free: 13.84 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.5632, allocations: 143.3 kB / 1.503 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.5645, allocations: 0.8683 MB / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5645, allocations: 0 / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5645, allocations: 4 kB / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5645, allocations: 0 / 1.504 GB, free: 12.82 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000974/0.5654, allocations: 0.6368 MB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5655, allocations: 8.031 kB / 1.505 GB, free: 12.15 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.5655, allocations: 8.656 kB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.672e-05/0.5656, allocations: 62.53 kB / 1.505 GB, free: 12.07 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5666, allocations: 131.6 kB / 1.505 GB, free: 11.94 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.5671, allocations: 275.5 kB / 1.505 GB, free: 11.64 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.5672, allocations: 72.06 kB / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.5673, allocations: 28 kB / 1.505 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.568, allocations: 396.9 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.568, allocations: 8 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.568, allocations: 8 kB / 1.506 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.5681, allocations: 11.94 kB / 1.506 GB, free: 11.09 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.5686, allocations: 269.8 kB / 1.506 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.5704, allocations: 1.152 MB / 1.507 GB, free: 9.613 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.5708, allocations: 186.5 kB / 1.507 GB, free: 9.422 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.571, allocations: 112.7 kB / 1.507 GB, free: 9.309 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/0.5718, allocations: 135.8 kB / 1.507 GB, free: 9.176 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5718, allocations: 30.56 kB / 1.507 GB, free: 9.137 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.5718, allocations: 0 / 1.507 GB, free: 9.137 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009376/0.5728, allocations: 368 kB / 1.508 GB, free: 8.773 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5728, allocations: 59.34 kB / 1.508 GB, free: 8.703 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.5732, allocations: 312.5 kB / 1.508 GB, free: 8.391 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.5732, allocations: 29.7 kB / 1.508 GB, free: 8.355 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.5733, allocations: 184.4 kB / 1.508 GB, free: 8.172 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.5734, allocations: 55.53 kB / 1.508 GB, free: 8.117 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.5735, allocations: 45.66 kB / 1.508 GB, free: 8.066 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5736, allocations: 346.7 kB / 1.509 GB, free: 7.719 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5738, allocations: 83.94 kB / 1.509 GB, free: 7.637 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.5741, allocations: 223 kB / 1.509 GB, free: 7.379 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.5745, allocations: 237.8 kB / 1.509 GB, free: 7.125 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5745, allocations: 0 / 1.509 GB, free: 7.125 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005957/0.5751, allocations: 288.1 kB / 1.51 GB, free: 6.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5751, allocations: 4 kB / 1.51 GB, free: 6.836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5751, allocations: 4 kB / 1.51 GB, free: 6.832 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5751, allocations: 7.984 kB / 1.51 GB, free: 6.824 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.5754, allocations: 40.11 kB / 1.51 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5754, allocations: 4 kB / 1.51 GB, free: 6.781 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.5756, allocations: 31.83 kB / 1.51 GB, free: 6.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5756, allocations: 12 kB / 1.51 GB, free: 6.738 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001595/0.5758, allocations: 161.6 kB / 1.51 GB, free: 6.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5759, allocations: 27.81 kB / 1.51 GB, free: 6.543 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.5766, allocations: 320 kB / 1.51 GB, free: 6.227 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5766, allocations: 4 kB / 1.51 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5766, allocations: 0 / 1.51 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.5766, allocations: 0 / 1.51 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.5779, allocations: 0.749 MB / 1.511 GB, free: 5.402 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5779, allocations: 4.219 kB / 1.511 GB, free: 5.398 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.578, allocations: 39.91 kB / 1.511 GB, free: 5.359 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.578, allocations: 3.938 kB / 1.511 GB, free: 5.355 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.5781, allocations: 8 kB / 1.511 GB, free: 5.348 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5781, allocations: 4 kB / 1.511 GB, free: 5.344 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5781, allocations: 4 kB / 1.511 GB, free: 5.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.5787, allocations: 397.1 kB / 1.511 GB, free: 4.914 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.5788, allocations: 71.58 kB / 1.511 GB, free: 4.844 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.5789, allocations: 8 kB / 1.511 GB, free: 4.836 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.5791, allocations: 15.98 kB / 1.511 GB, free: 4.82 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.5792, allocations: 15.92 kB / 1.511 GB, free: 4.805 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5792, allocations: 15.98 kB / 1.511 GB, free: 4.789 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002288/0.5794, allocations: 227 kB / 1.512 GB, free: 4.566 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5794, allocations: 0 / 1.512 GB, free: 4.566 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004963/0.5799, allocations: 115.8 kB / 1.512 GB, free: 4.453 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.00124/0.5812, allocations: 1.052 MB / 1.513 GB, free: 3.352 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.5817, allocations: 215.7 kB / 1.513 GB, free: 3.141 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5817, allocations: 0 / 1.513 GB, free: 3.141 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.5819, allocations: 112.6 kB / 1.513 GB, free: 3.031 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.5827, allocations: 158.2 kB / 1.513 GB, free: 2.875 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.5868, allocations: 3.06 MB / 1.516 GB, free: 15.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.587, allocations: 181.1 kB / 1.516 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.5873, allocations: 90.86 kB / 1.516 GB, free: 15.38 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.5875, allocations: 99.39 kB / 1.517 GB, free: 15.28 MB / 1.217 GB Notification: Performance of SimCode: time 4.11e-07/0.5875, allocations: 4 kB / 1.517 GB, free: 15.28 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.6204, allocations: 11.31 MB / 1.528 GB, free: 4.262 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.92, allocations: 13.47 kB / 1.528 GB, free: 4.25 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: 18.400053185992874]