Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.0008306/0.0008306, 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.0009792/0.0009792, 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.8508/0.8508, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.685/1.685, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.318e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5651/0.5651, allocations: 143.9 MB / 1.121 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.5685, allocations: 4.214 MB / 1.126 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.5686, allocations: 13.56 kB / 1.126 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.569, allocations: 127.5 kB / 1.126 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000979/0.57, allocations: 0.5773 MB / 1.126 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.5712, allocations: 0.828 MB / 1.127 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.5717, allocations: 0.5761 MB / 1.128 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.5719, allocations: 172.2 kB / 1.128 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.5729, allocations: 0.7484 MB / 1.129 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.5733, allocations: 282.9 kB / 1.129 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.5734, allocations: 18.09 kB / 1.129 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009178/0.5743, allocations: 0.8563 MB / 1.13 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.5743, allocations: 96.12 kB / 1.13 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.5744, allocations: 89.55 kB / 1.13 GB, free: 11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.5751, allocations: 0.7372 MB / 1.131 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5751, allocations: 0 / 1.131 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5751, allocations: 1.094 kB / 1.131 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5751, allocations: 0 / 1.131 GB, free: 10.75 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006034/0.5757, allocations: 0.5221 MB / 1.131 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5758, allocations: 9.75 kB / 1.131 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.5758, allocations: 53.78 kB / 1.131 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.5762, allocations: 80.33 kB / 1.131 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.5764, allocations: 235.8 kB / 1.131 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5765, allocations: 17.03 kB / 1.131 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.5765, allocations: 20.66 kB / 1.131 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.5768, allocations: 289.6 kB / 1.132 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5768, allocations: 0 / 1.132 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5768, allocations: 14.31 kB / 1.132 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5768, allocations: 4.969 kB / 1.132 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.5771, allocations: 205.9 kB / 1.132 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.5779, allocations: 1.164 MB / 1.133 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.5781, allocations: 173.5 kB / 1.133 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5782, allocations: 106.6 kB / 1.133 GB, free: 8.68 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/0.5785, allocations: 105 kB / 1.133 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.5785, allocations: 43.33 kB / 1.134 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.5785, allocations: 0 / 1.134 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.00044/0.579, allocations: 278.3 kB / 1.134 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.579, allocations: 166.5 kB / 1.134 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5792, allocations: 291.6 kB / 1.134 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.5792, allocations: 31.08 kB / 1.134 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.5792, allocations: 140.4 kB / 1.134 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.5793, allocations: 52.17 kB / 1.134 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.5793, allocations: 42.16 kB / 1.134 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.5793, allocations: 341.6 kB / 1.135 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.5794, allocations: 69.3 kB / 1.135 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.5796, allocations: 249.3 kB / 1.135 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5798, allocations: 215 kB / 1.135 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.5798, allocations: 0 / 1.135 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00028/0.5801, allocations: 246.2 kB / 1.136 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5801, allocations: 6.094 kB / 1.136 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5801, allocations: 2.188 kB / 1.136 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5801, allocations: 2.562 kB / 1.136 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.5802, allocations: 40.83 kB / 1.136 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5802, allocations: 7.609 kB / 1.136 GB, free: 7.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.5803, allocations: 29.84 kB / 1.136 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.5803, allocations: 14.2 kB / 1.136 GB, free: 7.109 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 7.486e-05/0.5804, allocations: 153.1 kB / 1.136 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.5805, allocations: 28.06 kB / 1.136 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.5807, allocations: 192 kB / 1.136 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5807, allocations: 3.109 kB / 1.136 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5807, allocations: 1.312 kB / 1.136 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5807, allocations: 2.266 kB / 1.136 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.5812, allocations: 0.8157 MB / 1.137 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5812, allocations: 2.5 kB / 1.137 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.5813, allocations: 21.56 kB / 1.137 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5813, allocations: 2.156 kB / 1.137 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5813, allocations: 3.266 kB / 1.137 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5813, allocations: 5.438 kB / 1.137 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5813, allocations: 6.812 kB / 1.137 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.5816, allocations: 335.8 kB / 1.137 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.5817, allocations: 36.81 kB / 1.137 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.5817, allocations: 15.44 kB / 1.137 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.5818, allocations: 10.12 kB / 1.137 GB, free: 5.875 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.5818, allocations: 13.72 kB / 1.137 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5818, allocations: 4.125 kB / 1.137 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001351/0.5819, allocations: 233.7 kB / 1.137 GB, free: 5.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5819, allocations: 1.281 kB / 1.137 GB, free: 5.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002798/0.5822, allocations: 102.2 kB / 1.138 GB, free: 5.727 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0006133/0.5828, allocations: 0.9767 MB / 1.139 GB, free: 4.938 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.5831, allocations: 145 kB / 1.139 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5831, allocations: 1.094 kB / 1.139 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.5831, allocations: 57.7 kB / 1.139 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.5836, allocations: 135.3 kB / 1.139 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.5858, allocations: 2.747 MB / 1.142 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.5859, allocations: 160.4 kB / 1.142 GB, free: 2.879 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.5861, allocations: 69.97 kB / 1.142 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.5861, allocations: 74.08 kB / 1.142 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of SimCode: time 6.72e-07/0.5861, allocations: 0 / 1.142 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.609, allocations: 9.79 MB / 1.151 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/7.169, allocations: 1.094 kB / 1.151 GB, free: 1.219 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_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_SpecificEntropy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! Error: Could not read variable senFloSou.s in file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senFloSou.s from file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.181509003974497]