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.001515/0.001515, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001734/0.001734, allocations: 216.5 kB / 22.25 MB, free: 5.105 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.781 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 2.989/2.989, allocations: 0.49 GB / 0.7951 GB, free: 35.33 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.001926/0.001926, allocations: 66.45 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1766/0.4794, allocations: 149.6 MB / 1.472 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007986/0.4873, allocations: 6.554 MB / 1.478 GB, free: 4.762 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.4876, allocations: 19.81 kB / 1.478 GB, free: 4.742 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.4881, allocations: 174.7 kB / 1.478 GB, free: 4.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.4909, allocations: 1.296 MB / 1.48 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.4925, allocations: 0.6655 MB / 1.48 GB, free: 2.605 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.4934, allocations: 0.7602 MB / 1.481 GB, free: 1.844 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.4938, allocations: 239.1 kB / 1.481 GB, free: 1.605 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.4952, allocations: 0.7357 MB / 1.482 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.496, allocations: 450.4 kB / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.4961, allocations: 28 kB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.498, allocations: 1.052 MB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.4981, allocations: 119.6 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.4983, allocations: 147.3 kB / 1.484 GB, free: 15.08 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.4997, allocations: 0.8606 MB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4997, allocations: 3.938 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4997, allocations: 4 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4997, allocations: 0 / 1.485 GB, free: 14.21 MB / 1.186 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.0009754/0.5007, allocations: 0.6329 MB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5007, allocations: 12.03 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/0.5008, allocations: 62.53 kB / 1.485 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.5017, allocations: 135.6 kB / 1.485 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.5023, allocations: 279.5 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.5023, allocations: 76.06 kB / 1.486 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.5024, allocations: 24 kB / 1.486 GB, free: 12.92 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.503, allocations: 404.8 kB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.503, allocations: 0 / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.5031, allocations: 15.98 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5031, allocations: 8 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.5036, allocations: 277.7 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.5053, allocations: 1.132 MB / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.5057, allocations: 194.4 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.5059, allocations: 108.8 kB / 1.488 GB, free: 10.7 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/0.5066, allocations: 131.8 kB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.5066, allocations: 38.56 kB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.5066, allocations: 0 / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009157/0.5076, allocations: 363 kB / 1.488 GB, free: 10.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5076, allocations: 59.34 kB / 1.488 GB, free: 10.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.5079, allocations: 312.5 kB / 1.489 GB, free: 9.781 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.508, allocations: 29.7 kB / 1.489 GB, free: 9.746 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.5081, allocations: 184.4 kB / 1.489 GB, free: 9.562 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.5082, allocations: 55.53 kB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.5082, allocations: 49.66 kB / 1.489 GB, free: 9.453 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5084, allocations: 342.7 kB / 1.489 GB, free: 9.109 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5086, allocations: 83.94 kB / 1.49 GB, free: 9.027 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.5088, allocations: 228.8 kB / 1.49 GB, free: 8.766 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.5093, allocations: 233.8 kB / 1.49 GB, free: 8.516 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5093, allocations: 4 kB / 1.49 GB, free: 8.512 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005704/0.5099, allocations: 282 kB / 1.49 GB, free: 8.23 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5099, allocations: 8 kB / 1.49 GB, free: 8.223 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5099, allocations: 0 / 1.49 GB, free: 8.223 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5099, allocations: 7.984 kB / 1.49 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.5101, allocations: 43.92 kB / 1.49 GB, free: 8.172 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5101, allocations: 192 / 1.49 GB, free: 8.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.5103, allocations: 43.77 kB / 1.49 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.5104, allocations: 8 kB / 1.49 GB, free: 8.121 MB / 1.186 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.0001744/0.5105, allocations: 161.7 kB / 1.49 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5106, allocations: 31.75 kB / 1.491 GB, free: 7.922 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.5113, allocations: 316.1 kB / 1.491 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5113, allocations: 0 / 1.491 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5113, allocations: 8 kB / 1.491 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5113, allocations: 4.031 kB / 1.491 GB, free: 7.594 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.5126, allocations: 0.7411 MB / 1.492 GB, free: 6.781 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5126, allocations: 0 / 1.492 GB, free: 6.781 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.5128, allocations: 48.12 kB / 1.492 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.5128, allocations: 7.938 kB / 1.492 GB, free: 6.727 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5128, allocations: 4 kB / 1.492 GB, free: 6.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5128, allocations: 0 / 1.492 GB, free: 6.723 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5128, allocations: 4 kB / 1.492 GB, free: 6.719 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.5134, allocations: 403.5 kB / 1.492 GB, free: 6.289 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5135, allocations: 59.7 kB / 1.492 GB, free: 6.23 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.5136, allocations: 11.94 kB / 1.492 GB, free: 6.219 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.5138, allocations: 15.98 kB / 1.492 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.5139, allocations: 19.92 kB / 1.492 GB, free: 6.184 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.5139, allocations: 15.98 kB / 1.492 GB, free: 6.168 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002229/0.5141, allocations: 227 kB / 1.492 GB, free: 5.945 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5141, allocations: 0 / 1.492 GB, free: 5.945 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004805/0.5146, allocations: 115.8 kB / 1.492 GB, free: 5.832 MB / 1.186 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.001193/0.5158, allocations: 1.05 MB / 1.493 GB, free: 4.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.5163, allocations: 218.2 kB / 1.494 GB, free: 4.52 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5163, allocations: 0 / 1.494 GB, free: 4.52 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.5165, allocations: 112.6 kB / 1.494 GB, free: 4.41 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.5173, allocations: 161.5 kB / 1.494 GB, free: 4.258 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.5212, allocations: 3.067 MB / 1.497 GB, free: 1.035 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.5213, allocations: 181.1 kB / 1.497 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.5216, allocations: 82.88 kB / 1.497 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.5218, allocations: 103.4 kB / 1.497 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of SimCode: time 7.41e-07/0.5218, allocations: 0 / 1.497 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.561, allocations: 11.78 MB / 1.509 GB, free: 5.16 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.38, allocations: 15.64 kB / 1.509 GB, free: 5.152 MB / 1.201 GB " [Timeout remaining time 289] (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: 17.80275154899573]