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.001197/0.001197, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001345/0.001345, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.312/1.312, allocations: 230.6 MB / 256 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 179] 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.895/2.895, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.001815/0.001815, allocations: 67.52 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2868, allocations: 176.1 MB / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1774/0.4642, allocations: 166.8 MB / 1.489 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005569/0.4698, allocations: 4.658 MB / 1.493 GB, free: 5.684 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.47, allocations: 19.81 kB / 1.493 GB, free: 5.664 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.4704, allocations: 119.1 kB / 1.493 GB, free: 5.547 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.4716, allocations: 0.5718 MB / 1.494 GB, free: 4.973 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.4733, allocations: 0.8215 MB / 1.495 GB, free: 4.152 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006892/0.474, allocations: 0.5807 MB / 1.495 GB, free: 3.57 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.4743, allocations: 177.3 kB / 1.496 GB, free: 3.391 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.4757, allocations: 0.6889 MB / 1.496 GB, free: 2.699 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.4763, allocations: 314.8 kB / 1.497 GB, free: 2.391 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.4763, allocations: 20 kB / 1.497 GB, free: 2.371 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.478, allocations: 1.114 MB / 1.498 GB, free: 1.254 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.4781, allocations: 87.77 kB / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.4782, allocations: 127.3 kB / 1.498 GB, free: 1.043 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.4793, allocations: 0.7166 MB / 1.499 GB, free: 332 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4793, allocations: 8 kB / 1.499 GB, free: 324 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4793, allocations: 0 / 1.499 GB, free: 324 kB / 1.186 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4793, allocations: 0 / 1.499 GB, free: 324 kB / 1.186 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.0008413/0.4801, allocations: 0.5313 MB / 1.499 GB, free: 15.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4802, allocations: 8.031 kB / 1.499 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.4802, allocations: 54.55 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.4808, allocations: 79.69 kB / 1.499 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.4812, allocations: 233.7 kB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4812, allocations: 12 kB / 1.499 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.4813, allocations: 20 kB / 1.499 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.4817, allocations: 292.1 kB / 1.5 GB, free: 15.01 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4817, allocations: 4 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.4818, allocations: 7.938 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4818, allocations: 4 kB / 1.5 GB, free: 14.99 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.4822, allocations: 212.2 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.4837, allocations: 1.21 MB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.484, allocations: 169 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.4842, allocations: 112.3 kB / 1.501 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/0.4847, allocations: 107.9 kB / 1.502 GB, free: 13.06 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4848, allocations: 34.56 kB / 1.502 GB, free: 13.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.4848, allocations: 0 / 1.502 GB, free: 13.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0006981/0.4855, allocations: 289.4 kB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.4856, allocations: 154.2 kB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4858, allocations: 292.2 kB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.4859, allocations: 26.2 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.486, allocations: 151.9 kB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.486, allocations: 43.64 kB / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.4861, allocations: 49.66 kB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4862, allocations: 338.7 kB / 1.503 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4864, allocations: 67.94 kB / 1.503 GB, free: 11.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4866, allocations: 148.5 kB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.487, allocations: 207.5 kB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.487, allocations: 0 / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000482/0.4874, allocations: 249.2 kB / 1.504 GB, free: 10.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4875, allocations: 8 kB / 1.504 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4875, allocations: 0 / 1.504 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4875, allocations: 4 kB / 1.504 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.4877, allocations: 35.92 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4877, allocations: 4.078 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.4878, allocations: 39.95 kB / 1.504 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.4879, allocations: 19.97 kB / 1.504 GB, free: 10.79 MB / 1.201 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.0001341/0.488, allocations: 153.8 kB / 1.504 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4881, allocations: 23.86 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.4886, allocations: 193.8 kB / 1.504 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4886, allocations: 48 / 1.504 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4886, allocations: 7.984 kB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4886, allocations: 3.938 kB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.4896, allocations: 0.815 MB / 1.505 GB, free: 9.504 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4896, allocations: 0 / 1.505 GB, free: 9.504 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.4897, allocations: 35.84 kB / 1.505 GB, free: 9.469 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4897, allocations: 4 kB / 1.505 GB, free: 9.465 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4897, allocations: 4 kB / 1.505 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4897, allocations: 4.25 kB / 1.505 GB, free: 9.457 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4897, allocations: 7.938 kB / 1.505 GB, free: 9.449 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.4902, allocations: 339.5 kB / 1.505 GB, free: 9.086 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.4903, allocations: 43.75 kB / 1.505 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.4904, allocations: 4 kB / 1.505 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4905, allocations: 11.98 kB / 1.505 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.4905, allocations: 11.92 kB / 1.505 GB, free: 9.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.4905, allocations: 4 kB / 1.505 GB, free: 9.012 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002381/0.4908, allocations: 243.1 kB / 1.505 GB, free: 8.777 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4908, allocations: 0 / 1.505 GB, free: 8.777 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003985/0.4912, allocations: 91.81 kB / 1.506 GB, free: 8.688 MB / 1.201 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.00107/0.4923, allocations: 0.9701 MB / 1.506 GB, free: 7.676 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.4926, allocations: 151.7 kB / 1.507 GB, free: 7.527 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4926, allocations: 0 / 1.507 GB, free: 7.527 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4927, allocations: 55.91 kB / 1.507 GB, free: 7.473 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.4934, allocations: 144.7 kB / 1.507 GB, free: 7.336 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.4968, allocations: 2.771 MB / 1.51 GB, free: 4.406 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4971, allocations: 0.7597 MB / 1.51 GB, free: 3.621 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.4973, allocations: 67.06 kB / 1.51 GB, free: 3.555 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.4974, allocations: 71.42 kB / 1.51 GB, free: 3.484 MB / 1.201 GB Notification: Performance of SimCode: time 3.31e-07/0.4974, allocations: 4 kB / 1.51 GB, free: 3.48 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.5334, allocations: 8.785 MB / 1.519 GB, free: 10.89 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.69, allocations: 11.56 kB / 1.519 GB, free: 10.88 MB / 1.217 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: 16.63722580099966]