Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 197.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.693, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1959/0.8889, allocations: 169.4 MB / 1.115 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009474/0.8985, allocations: 7.148 MB / 1.122 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.8992, allocations: 11.94 kB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.9, allocations: 162.8 kB / 1.122 GB, free: 480 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.904, allocations: 1.268 MB / 1.124 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.9059, allocations: 0.6316 MB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.907, allocations: 0.7485 MB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.9076, allocations: 298.7 kB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.9091, allocations: 0.5643 MB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009395/0.91, allocations: 422.5 kB / 1.126 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.9101, allocations: 24 kB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.9124, allocations: 1.247 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.9126, allocations: 119.7 kB / 1.128 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.9128, allocations: 175.1 kB / 1.128 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.9147, allocations: 0.8961 MB / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.9147, allocations: 0 / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9147, allocations: 0 / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.9147, allocations: 4 kB / 1.129 GB, free: 10.08 MB / 0.8887 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.001178/0.9159, allocations: 0.6935 MB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.9159, allocations: 8.031 kB / 1.129 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/0.916, allocations: 70.41 kB / 1.129 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.9171, allocations: 127.4 kB / 1.129 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.9176, allocations: 321.2 kB / 1.13 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.9177, allocations: 46.27 kB / 1.13 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.9177, allocations: 32 kB / 1.13 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.9184, allocations: 366.1 kB / 1.13 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9184, allocations: 0 / 1.13 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.9184, allocations: 8 kB / 1.13 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.9184, allocations: 8 kB / 1.13 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.919, allocations: 278 kB / 1.13 GB, free: 8.02 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.9208, allocations: 1.5 MB / 1.132 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.9212, allocations: 194.6 kB / 1.132 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.9214, allocations: 116.8 kB / 1.132 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.9225, allocations: 0.509 MB / 1.133 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.9225, allocations: 38.56 kB / 1.133 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.9225, allocations: 0 / 1.133 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0009068/0.9234, allocations: 353 kB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.9235, allocations: 55.41 kB / 1.133 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.9238, allocations: 316.5 kB / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.9238, allocations: 29.7 kB / 1.133 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.9239, allocations: 184 kB / 1.134 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.924, allocations: 51.34 kB / 1.134 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.9241, allocations: 45.61 kB / 1.134 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9242, allocations: 342.8 kB / 1.134 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.9244, allocations: 87.92 kB / 1.134 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.9247, allocations: 151.6 kB / 1.134 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.9251, allocations: 237.8 kB / 1.135 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9251, allocations: 0 / 1.135 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005855/0.9257, allocations: 285.1 kB / 1.135 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.9257, allocations: 8 kB / 1.135 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9257, allocations: 0 / 1.135 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.9257, allocations: 4 kB / 1.135 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.9259, allocations: 43.97 kB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.926, allocations: 3.938 kB / 1.135 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.9262, allocations: 35.67 kB / 1.135 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.9262, allocations: 12 kB / 1.135 GB, free: 3.137 MB / 0.8887 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.0001522/0.9264, allocations: 153.9 kB / 1.135 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.9265, allocations: 27.62 kB / 1.135 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.9272, allocations: 321.5 kB / 1.135 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9272, allocations: 0 / 1.135 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9272, allocations: 4 kB / 1.135 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9272, allocations: 0 / 1.135 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.9285, allocations: 0.8122 MB / 1.136 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9285, allocations: 4 kB / 1.136 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.9287, allocations: 27.98 kB / 1.136 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.9287, allocations: 7.984 kB / 1.136 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.9288, allocations: 11.98 kB / 1.136 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.9288, allocations: 7.984 kB / 1.136 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9288, allocations: 3.938 kB / 1.136 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.9294, allocations: 405 kB / 1.137 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9296, allocations: 128.8 kB / 1.137 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.9296, allocations: 11.94 kB / 1.137 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.9299, allocations: 11.98 kB / 1.137 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.9299, allocations: 19.97 kB / 1.137 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.93, allocations: 8 kB / 1.137 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002146/0.9302, allocations: 227 kB / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9302, allocations: 96 / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005208/0.9307, allocations: 127.7 kB / 1.137 GB, free: 0.6953 MB / 0.8887 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.001339/0.9321, allocations: 1.057 MB / 1.138 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005103/0.9326, allocations: 229 kB / 1.138 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9326, allocations: 0 / 1.138 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.9328, allocations: 115.8 kB / 1.138 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.9337, allocations: 167.6 kB / 1.139 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.9378, allocations: 3.067 MB / 1.142 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.9382, allocations: 0.7834 MB / 1.142 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000352/0.9386, allocations: 82.88 kB / 1.142 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.9388, allocations: 95.41 kB / 1.143 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of SimCode: time 7.31e-07/0.9388, allocations: 0 / 1.143 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.9702, allocations: 10.42 MB / 1.153 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.652, allocations: 9.703 kB / 1.153 GB, free: 0.6406 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches