Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001668/0.001668, allocations: 109.9 kB / 16.45 MB, free: 6.508 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.001956/0.001956, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3/3, allocations: 0.49 GB / 0.7916 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.001968/0.001968, allocations: 67.78 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1981/0.5146, allocations: 172.9 MB / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008578/0.5232, allocations: 7.196 MB / 1.497 GB, free: 14.58 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.5235, allocations: 23.81 kB / 1.497 GB, free: 14.56 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.524, allocations: 170.7 kB / 1.497 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.5268, allocations: 1.311 MB / 1.498 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.5283, allocations: 0.6336 MB / 1.499 GB, free: 12.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0008388/0.5292, allocations: 0.7523 MB / 1.5 GB, free: 11.69 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.5296, allocations: 258.7 kB / 1.5 GB, free: 11.44 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5309, allocations: 0.7318 MB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.5317, allocations: 458.4 kB / 1.501 GB, free: 10.25 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.5317, allocations: 24 kB / 1.501 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.5336, allocations: 1.321 MB / 1.502 GB, free: 8.906 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.5338, allocations: 119.6 kB / 1.502 GB, free: 8.789 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.534, allocations: 179.1 kB / 1.503 GB, free: 8.613 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.5353, allocations: 0.9034 MB / 1.503 GB, free: 7.707 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5353, allocations: 4 kB / 1.503 GB, free: 7.703 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5353, allocations: 0 / 1.503 GB, free: 7.703 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.5353, allocations: 0 / 1.503 GB, free: 7.703 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.001027/0.5363, allocations: 0.7159 MB / 1.504 GB, free: 6.938 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5364, allocations: 11.98 kB / 1.504 GB, free: 6.926 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.5364, allocations: 62.55 kB / 1.504 GB, free: 6.855 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009761/0.5374, allocations: 135.5 kB / 1.504 GB, free: 6.723 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.5379, allocations: 349.3 kB / 1.505 GB, free: 6.336 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.538, allocations: 46.27 kB / 1.505 GB, free: 6.285 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.5381, allocations: 28 kB / 1.505 GB, free: 6.258 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.5387, allocations: 370.2 kB / 1.505 GB, free: 5.875 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.5387, allocations: 0 / 1.505 GB, free: 5.875 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.5388, allocations: 12 kB / 1.505 GB, free: 5.863 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5388, allocations: 7.938 kB / 1.505 GB, free: 5.855 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.5393, allocations: 281.9 kB / 1.505 GB, free: 5.578 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.5413, allocations: 1.492 MB / 1.507 GB, free: 3.961 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.5417, allocations: 186.5 kB / 1.507 GB, free: 3.77 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.5419, allocations: 108.8 kB / 1.507 GB, free: 3.66 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009707/0.5429, allocations: 0.5014 MB / 1.508 GB, free: 3.066 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5429, allocations: 38.56 kB / 1.508 GB, free: 3.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.5429, allocations: 0 / 1.508 GB, free: 3.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009894/0.5439, allocations: 353.2 kB / 1.508 GB, free: 2.668 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5439, allocations: 55.41 kB / 1.508 GB, free: 2.602 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.5443, allocations: 320.5 kB / 1.508 GB, free: 2.285 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.5443, allocations: 25.7 kB / 1.508 GB, free: 2.254 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.5444, allocations: 196.2 kB / 1.509 GB, free: 2.059 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.5445, allocations: 51.59 kB / 1.509 GB, free: 2.008 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.5446, allocations: 41.66 kB / 1.509 GB, free: 1.961 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5447, allocations: 346.7 kB / 1.509 GB, free: 1.613 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5449, allocations: 83.94 kB / 1.509 GB, free: 1.531 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.5452, allocations: 149.9 kB / 1.509 GB, free: 1.363 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.5457, allocations: 233.8 kB / 1.509 GB, free: 1.113 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5457, allocations: 4 kB / 1.509 GB, free: 1.109 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00061/0.5463, allocations: 282 kB / 1.51 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5463, allocations: 12 kB / 1.51 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5463, allocations: 0 / 1.51 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5463, allocations: 4 kB / 1.51 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.5465, allocations: 43.91 kB / 1.51 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.5466, allocations: 0 / 1.51 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5468, allocations: 35.77 kB / 1.51 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.5468, allocations: 8 kB / 1.51 GB, free: 0.7266 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.000165/0.547, allocations: 161.8 kB / 1.51 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5471, allocations: 27.81 kB / 1.51 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/0.5478, allocations: 314.8 kB / 1.51 GB, free: 220 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5478, allocations: 4 kB / 1.51 GB, free: 216 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5478, allocations: 0 / 1.51 GB, free: 216 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5478, allocations: 4 kB / 1.51 GB, free: 212 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.5492, allocations: 0.8083 MB / 1.511 GB, free: 15.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5492, allocations: 8.156 kB / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.5494, allocations: 31.98 kB / 1.511 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.5494, allocations: 11.92 kB / 1.511 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.5494, allocations: 4 kB / 1.511 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5494, allocations: 11.92 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5494, allocations: 0 / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.55, allocations: 401.1 kB / 1.511 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.5502, allocations: 132.9 kB / 1.512 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.5502, allocations: 11.92 kB / 1.512 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.5505, allocations: 20.03 kB / 1.512 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.5505, allocations: 15.97 kB / 1.512 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.5505, allocations: 12 kB / 1.512 GB, free: 14.62 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002341/0.5508, allocations: 227 kB / 1.512 GB, free: 14.4 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5508, allocations: 0 / 1.512 GB, free: 14.4 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005128/0.5513, allocations: 123.7 kB / 1.512 GB, free: 14.28 MB / 1.217 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.001269/0.5526, allocations: 1.055 MB / 1.513 GB, free: 13.17 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.5531, allocations: 219.7 kB / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5531, allocations: 0 / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.5533, allocations: 116.5 kB / 1.513 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.5541, allocations: 152.7 kB / 1.514 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.5582, allocations: 3.06 MB / 1.516 GB, free: 9.48 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.5586, allocations: 0.795 MB / 1.517 GB, free: 8.656 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002508/0.5589, allocations: 86.86 kB / 1.517 GB, free: 8.57 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.5591, allocations: 103.4 kB / 1.517 GB, free: 8.473 MB / 1.217 GB Notification: Performance of SimCode: time 3.61e-07/0.5591, allocations: 0 / 1.517 GB, free: 8.473 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.5969, allocations: 10.51 MB / 1.528 GB, free: 14.14 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.759, allocations: 4.594 kB / 1.528 GB, free: 14.14 MB / 1.232 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.069088100921363]