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.0008597/0.0008597, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009602/0.0009602, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8895/0.8895, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.653/1.653, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.254e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5458/0.5458, allocations: 149.5 MB / 1.127 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005707/0.5515, allocations: 6.529 MB / 1.133 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.552, allocations: 24.81 kB / 1.133 GB, free: 7.691 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.5525, allocations: 181.1 kB / 1.134 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.5554, allocations: 1.326 MB / 1.135 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.5569, allocations: 0.6999 MB / 1.135 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000779/0.5576, allocations: 0.7505 MB / 1.136 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.558, allocations: 232.3 kB / 1.136 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.5593, allocations: 0.8362 MB / 1.137 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006939/0.56, allocations: 418 kB / 1.138 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.56, allocations: 25.81 kB / 1.138 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.5619, allocations: 1.051 MB / 1.139 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.562, allocations: 124 kB / 1.139 GB, free: 5.148 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5621, allocations: 119.6 kB / 1.139 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.5636, allocations: 0.9246 MB / 1.14 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5636, allocations: 0 / 1.14 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5636, allocations: 1.312 kB / 1.14 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5636, allocations: 0 / 1.14 GB, free: 4.801 MB / 0.9948 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.0007758/0.5644, allocations: 0.6354 MB / 1.14 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5644, allocations: 10.77 kB / 1.14 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.5645, allocations: 61.97 kB / 1.141 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005841/0.565, allocations: 133.2 kB / 1.141 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.5655, allocations: 276.3 kB / 1.141 GB, free: 4.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.5655, allocations: 74.31 kB / 1.141 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.5656, allocations: 29.34 kB / 1.141 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.5661, allocations: 392.7 kB / 1.141 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5661, allocations: 1.344 kB / 1.141 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.5661, allocations: 15.2 kB / 1.141 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.5661, allocations: 6.375 kB / 1.141 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.5665, allocations: 275.1 kB / 1.142 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.5678, allocations: 1.144 MB / 1.143 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.5681, allocations: 186.1 kB / 1.143 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.5682, allocations: 113.7 kB / 1.143 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.5687, allocations: 136 kB / 1.143 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5687, allocations: 40.88 kB / 1.143 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.5687, allocations: 4 kB / 1.143 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.000688/0.5694, allocations: 356.3 kB / 1.144 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.5694, allocations: 53.59 kB / 1.144 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.5697, allocations: 312.3 kB / 1.144 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.5697, allocations: 31.73 kB / 1.144 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.5698, allocations: 182.6 kB / 1.144 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.5698, allocations: 61.56 kB / 1.144 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.5699, allocations: 46.77 kB / 1.144 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.5699, allocations: 339.8 kB / 1.145 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.5701, allocations: 83.14 kB / 1.145 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.5702, allocations: 224.1 kB / 1.145 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.5705, allocations: 234.3 kB / 1.145 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5705, allocations: 0 / 1.145 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003678/0.5709, allocations: 289.4 kB / 1.145 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5709, allocations: 5.469 kB / 1.145 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5709, allocations: 6.859 kB / 1.145 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5709, allocations: 2.094 kB / 1.145 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.5711, allocations: 46.3 kB / 1.145 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5711, allocations: 3.203 kB / 1.145 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5712, allocations: 33.39 kB / 1.145 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.5712, allocations: 10.92 kB / 1.145 GB, free: 1.25 MB / 0.9948 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 9.355e-05/0.5713, allocations: 144.6 kB / 1.146 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.5714, allocations: 34.7 kB / 1.146 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.5718, allocations: 320.4 kB / 1.146 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5718, allocations: 5.625 kB / 1.146 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5718, allocations: 0.7031 kB / 1.146 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5718, allocations: 4.391 kB / 1.146 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.5727, allocations: 0.7573 MB / 1.147 GB, free: 496 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5727, allocations: 1.969 kB / 1.147 GB, free: 496 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.5728, allocations: 37.23 kB / 1.147 GB, free: 492 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5728, allocations: 2.75 kB / 1.147 GB, free: 492 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5728, allocations: 4.266 kB / 1.147 GB, free: 492 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5728, allocations: 7.484 kB / 1.147 GB, free: 488 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5728, allocations: 7.281 kB / 1.147 GB, free: 484 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.5731, allocations: 401.8 kB / 1.147 GB, free: 212 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.5732, allocations: 61.66 kB / 1.147 GB, free: 180 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.5732, allocations: 8.156 kB / 1.147 GB, free: 176 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5734, allocations: 11.44 kB / 1.147 GB, free: 176 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.5734, allocations: 21.39 kB / 1.147 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.5734, allocations: 13.88 kB / 1.147 GB, free: 164 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001449/0.5736, allocations: 226.5 kB / 1.147 GB, free: 44 kB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5736, allocations: 0 / 1.147 GB, free: 44 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004899/0.5741, allocations: 127.4 kB / 1.148 GB, free: 12 kB / 0.9948 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.0009912/0.575, allocations: 1.053 MB / 1.149 GB, free: 15.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.5754, allocations: 211 kB / 1.149 GB, free: 15.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5754, allocations: 1.156 kB / 1.149 GB, free: 15.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.5756, allocations: 120.2 kB / 1.149 GB, free: 15.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.5762, allocations: 158.2 kB / 1.149 GB, free: 15.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.5793, allocations: 3.054 MB / 1.152 GB, free: 13.06 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.5795, allocations: 180.1 kB / 1.152 GB, free: 12.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000264/0.5798, allocations: 90.78 kB / 1.152 GB, free: 12.95 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.5799, allocations: 103.5 kB / 1.152 GB, free: 12.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.203e-06/0.5799, allocations: 0 / 1.152 GB, free: 12.88 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.6061, allocations: 11.84 MB / 1.164 GB, free: 11.07 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/7.249, allocations: 10.03 kB / 1.164 GB, free: 11.07 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/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: 11.223511919379234]