Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001259/0.001259, 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.001319/0.001319, allocations: 220.3 kB / 22.26 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.314/1.314, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.917/2.917, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_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.001852/0.001852, allocations: 68.92 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2994, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1823/0.4817, allocations: 166.8 MB / 1.516 GB, free: 1.023 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005659/0.4874, allocations: 4.654 MB / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.4877, allocations: 11.88 kB / 1.52 GB, free: 12.35 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.4881, allocations: 135 kB / 1.52 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.4893, allocations: 0.5718 MB / 1.521 GB, free: 11.64 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.491, allocations: 0.808 MB / 1.522 GB, free: 10.83 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0006705/0.4916, allocations: 0.5846 MB / 1.522 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.4919, allocations: 165.4 kB / 1.523 GB, free: 10.09 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.4933, allocations: 0.7045 MB / 1.523 GB, free: 9.379 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.4939, allocations: 310.8 kB / 1.524 GB, free: 9.074 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.4939, allocations: 20 kB / 1.524 GB, free: 9.055 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.4956, allocations: 1.103 MB / 1.525 GB, free: 7.949 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4957, allocations: 91.72 kB / 1.525 GB, free: 7.859 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.4958, allocations: 135.3 kB / 1.525 GB, free: 7.727 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.4968, allocations: 0.7127 MB / 1.526 GB, free: 7.012 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4968, allocations: 7.938 kB / 1.526 GB, free: 7.004 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4968, allocations: 0 / 1.526 GB, free: 7.004 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4968, allocations: 0 / 1.526 GB, free: 7.004 MB / 1.217 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.0008813/0.4977, allocations: 0.5391 MB / 1.526 GB, free: 6.434 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4978, allocations: 8.031 kB / 1.526 GB, free: 6.426 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.4978, allocations: 54.55 kB / 1.526 GB, free: 6.363 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.4984, allocations: 75.69 kB / 1.526 GB, free: 6.289 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.4988, allocations: 237.7 kB / 1.526 GB, free: 6.031 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4988, allocations: 16 kB / 1.526 GB, free: 6.016 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.4989, allocations: 16 kB / 1.526 GB, free: 6 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.4993, allocations: 288.1 kB / 1.527 GB, free: 5.691 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4993, allocations: 3.984 kB / 1.527 GB, free: 5.688 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.4994, allocations: 15.94 kB / 1.527 GB, free: 5.672 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4994, allocations: 4 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.4998, allocations: 207.7 kB / 1.527 GB, free: 5.465 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.5014, allocations: 1.206 MB / 1.528 GB, free: 4.188 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5017, allocations: 173 kB / 1.528 GB, free: 3.973 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.5019, allocations: 108.2 kB / 1.528 GB, free: 3.852 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005966/0.5025, allocations: 103.9 kB / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.5025, allocations: 34.69 kB / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.5025, allocations: 4 kB / 1.529 GB, free: 3.703 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0007309/0.5033, allocations: 281.2 kB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.5033, allocations: 154.2 kB / 1.529 GB, free: 3.234 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.5036, allocations: 288.2 kB / 1.529 GB, free: 2.941 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.5037, allocations: 30.2 kB / 1.529 GB, free: 2.906 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.5038, allocations: 155.9 kB / 1.529 GB, free: 2.75 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.5038, allocations: 47.58 kB / 1.529 GB, free: 2.703 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.5039, allocations: 41.7 kB / 1.529 GB, free: 2.656 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5041, allocations: 346.7 kB / 1.53 GB, free: 2.309 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.5042, allocations: 67.94 kB / 1.53 GB, free: 2.242 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.5045, allocations: 142.4 kB / 1.53 GB, free: 2.074 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.5048, allocations: 211.5 kB / 1.53 GB, free: 1.84 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5048, allocations: 0 / 1.53 GB, free: 1.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004984/0.5053, allocations: 249.2 kB / 1.53 GB, free: 1.59 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5054, allocations: 11.94 kB / 1.53 GB, free: 1.578 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5054, allocations: 0 / 1.53 GB, free: 1.578 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5054, allocations: 4 kB / 1.53 GB, free: 1.574 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.5056, allocations: 31.98 kB / 1.531 GB, free: 1.543 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5056, allocations: 7.938 kB / 1.531 GB, free: 1.535 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.5058, allocations: 39.95 kB / 1.531 GB, free: 1.496 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.5058, allocations: 19.98 kB / 1.531 GB, free: 1.477 MB / 1.217 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.0001384/0.5059, allocations: 141.8 kB / 1.531 GB, free: 1.328 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.5061, allocations: 23.86 kB / 1.531 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.5065, allocations: 193.7 kB / 1.531 GB, free: 1.094 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5065, allocations: 4 kB / 1.531 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5065, allocations: 0 / 1.531 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5066, allocations: 7.938 kB / 1.531 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5076, allocations: 0.8189 MB / 1.532 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5076, allocations: 4 kB / 1.532 GB, free: 196 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.5077, allocations: 27.91 kB / 1.532 GB, free: 168 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5077, allocations: 4 kB / 1.532 GB, free: 164 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5077, allocations: 0 / 1.532 GB, free: 164 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5077, allocations: 8.156 kB / 1.532 GB, free: 156 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5077, allocations: 3.938 kB / 1.532 GB, free: 152 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.5083, allocations: 343.6 kB / 1.532 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.5084, allocations: 39.78 kB / 1.532 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.5084, allocations: 4 kB / 1.532 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5086, allocations: 7.984 kB / 1.532 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5086, allocations: 11.92 kB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.5086, allocations: 8 kB / 1.532 GB, free: 15.71 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002408/0.5089, allocations: 239.2 kB / 1.532 GB, free: 15.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5089, allocations: 3.938 kB / 1.532 GB, free: 15.47 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004599/0.5093, allocations: 103.8 kB / 1.532 GB, free: 15.37 MB / 1.232 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.001205/0.5105, allocations: 0.97 MB / 1.533 GB, free: 14.36 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.5109, allocations: 155.9 kB / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5109, allocations: 0 / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.5111, allocations: 55.91 kB / 1.534 GB, free: 14.15 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.5118, allocations: 141.5 kB / 1.534 GB, free: 14.02 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.5153, allocations: 2.763 MB / 1.536 GB, free: 11.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.5157, allocations: 0.7558 MB / 1.537 GB, free: 10.32 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.5158, allocations: 70.75 kB / 1.537 GB, free: 10.25 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.516, allocations: 75.42 kB / 1.537 GB, free: 10.17 MB / 1.232 GB Notification: Performance of SimCode: time 3.51e-07/0.516, allocations: 0 / 1.537 GB, free: 10.17 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.5531, allocations: 8.803 MB / 1.546 GB, free: 1.551 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.59, allocations: 0 / 1.546 GB, free: 1.551 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! Error: Could not read variable senFloSou.s in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senFloSou.s from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.609651873000075]