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.001856/0.001856, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00238/0.00238, allocations: 222.5 kB / 22.25 MB, free: 5.254 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.801 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.036/3.036, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.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: 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.002045/0.002045, allocations: 74.7 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 176.1 MB / 1.326 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1686/0.5153, allocations: 143.9 MB / 1.466 GB, free: 1.219 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005588/0.5209, allocations: 4.218 MB / 1.471 GB, free: 12.99 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.5212, allocations: 15.88 kB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.5217, allocations: 131 kB / 1.471 GB, free: 12.85 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.523, allocations: 0.5601 MB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.5248, allocations: 0.8036 MB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.5254, allocations: 0.5884 MB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.5257, allocations: 165.4 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.5271, allocations: 0.6655 MB / 1.473 GB, free: 10.06 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.5276, allocations: 326.8 kB / 1.474 GB, free: 9.738 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.5277, allocations: 16 kB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.5291, allocations: 0.861 MB / 1.475 GB, free: 8.859 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.5292, allocations: 91.72 kB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.5293, allocations: 99.55 kB / 1.475 GB, free: 8.672 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009054/0.5302, allocations: 0.6815 MB / 1.475 GB, free: 7.988 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5302, allocations: 4 kB / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5302, allocations: 4 kB / 1.475 GB, free: 7.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5302, allocations: 0 / 1.475 GB, free: 7.98 MB / 1.17 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.0008737/0.5311, allocations: 0.5352 MB / 1.476 GB, free: 7.414 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5311, allocations: 8.031 kB / 1.476 GB, free: 7.406 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.5312, allocations: 54.55 kB / 1.476 GB, free: 7.344 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.5318, allocations: 79.69 kB / 1.476 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.5322, allocations: 237.7 kB / 1.476 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5322, allocations: 12 kB / 1.476 GB, free: 6.996 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.5322, allocations: 31.98 kB / 1.476 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.5327, allocations: 284.1 kB / 1.477 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5327, allocations: 0 / 1.477 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.5328, allocations: 11.94 kB / 1.477 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5328, allocations: 7.938 kB / 1.477 GB, free: 6.641 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.5332, allocations: 212.1 kB / 1.477 GB, free: 6.434 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.5347, allocations: 1.155 MB / 1.478 GB, free: 5.203 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.535, allocations: 173 kB / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.5352, allocations: 112.2 kB / 1.478 GB, free: 4.863 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.5358, allocations: 103.9 kB / 1.478 GB, free: 4.762 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5358, allocations: 42.69 kB / 1.478 GB, free: 4.711 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.5358, allocations: 0 / 1.478 GB, free: 4.711 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0007308/0.5365, allocations: 269.3 kB / 1.479 GB, free: 4.441 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.5366, allocations: 166.2 kB / 1.479 GB, free: 4.242 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.5369, allocations: 284.7 kB / 1.479 GB, free: 3.957 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5369, allocations: 33.7 kB / 1.479 GB, free: 3.918 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.537, allocations: 147.9 kB / 1.479 GB, free: 3.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.5371, allocations: 51.62 kB / 1.479 GB, free: 3.719 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.5372, allocations: 41.66 kB / 1.479 GB, free: 3.672 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5373, allocations: 342.8 kB / 1.48 GB, free: 3.328 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.5375, allocations: 67.94 kB / 1.48 GB, free: 3.262 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.5378, allocations: 249.2 kB / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.5381, allocations: 207.5 kB / 1.48 GB, free: 2.734 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5381, allocations: 0 / 1.48 GB, free: 2.734 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004952/0.5386, allocations: 249.2 kB / 1.48 GB, free: 2.484 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5386, allocations: 4 kB / 1.48 GB, free: 2.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5386, allocations: 4 kB / 1.48 GB, free: 2.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5387, allocations: 3.938 kB / 1.48 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.5388, allocations: 40.36 kB / 1.48 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5388, allocations: 3.984 kB / 1.48 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.539, allocations: 31.97 kB / 1.48 GB, free: 2.398 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.539, allocations: 19.98 kB / 1.48 GB, free: 2.379 MB / 1.17 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 0.000139/0.5392, allocations: 159.4 kB / 1.481 GB, free: 2.215 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.5393, allocations: 23.86 kB / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.5398, allocations: 189.7 kB / 1.481 GB, free: 1.984 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5398, allocations: 4 kB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5398, allocations: 0 / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5398, allocations: 11.92 kB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5408, allocations: 0.8113 MB / 1.482 GB, free: 1.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5408, allocations: 4 kB / 1.482 GB, free: 1.086 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5409, allocations: 23.92 kB / 1.482 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5409, allocations: 4 kB / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5409, allocations: 0 / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.5409, allocations: 4 kB / 1.482 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5409, allocations: 0 / 1.482 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.5415, allocations: 347.5 kB / 1.482 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.5416, allocations: 35.81 kB / 1.482 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.5416, allocations: 11.94 kB / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.5417, allocations: 7.984 kB / 1.482 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.5418, allocations: 7.984 kB / 1.482 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.5418, allocations: 8 kB / 1.482 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002337/0.542, allocations: 235 kB / 1.482 GB, free: 396 kB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.542, allocations: 0 / 1.482 GB, free: 396 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004319/0.5425, allocations: 99.86 kB / 1.482 GB, free: 296 kB / 1.17 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.001125/0.5436, allocations: 0.9779 MB / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.544, allocations: 152 kB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.544, allocations: 0 / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.5441, allocations: 55.91 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.5448, allocations: 132.1 kB / 1.484 GB, free: 14.94 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.5482, allocations: 2.771 MB / 1.486 GB, free: 12.01 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.5484, allocations: 150.2 kB / 1.487 GB, free: 11.85 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.5485, allocations: 70.86 kB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5487, allocations: 79.41 kB / 1.487 GB, free: 11.7 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.5487, allocations: 4 kB / 1.487 GB, free: 11.7 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.587, allocations: 9.7 MB / 1.496 GB, free: 2.238 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.34, allocations: 0 / 1.496 GB, free: 2.238 MB / 1.186 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.852573743002722]