Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001685/0.001685, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.871/1.871, allocations: 230.6 MB / 256 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.002186/0.002186, allocations: 65.19 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3272, allocations: 169.9 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1902/0.5174, allocations: 143.9 MB / 1.423 GB, free: 11.95 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007115/0.5246, allocations: 4.221 MB / 1.427 GB, free: 7.727 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.525, allocations: 11.88 kB / 1.427 GB, free: 7.715 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.5256, allocations: 139.1 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.5275, allocations: 0.5601 MB / 1.428 GB, free: 7.016 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.5298, allocations: 0.7934 MB / 1.429 GB, free: 6.223 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008484/0.5307, allocations: 0.5885 MB / 1.429 GB, free: 5.629 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.531, allocations: 161.4 kB / 1.429 GB, free: 5.473 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.5321, allocations: 482.2 kB / 1.43 GB, free: 5 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.5327, allocations: 302.9 kB / 1.43 GB, free: 4.703 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.5327, allocations: 16 kB / 1.43 GB, free: 4.688 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.5344, allocations: 0.8492 MB / 1.431 GB, free: 3.836 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.5345, allocations: 95.66 kB / 1.431 GB, free: 3.742 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.5346, allocations: 107.5 kB / 1.431 GB, free: 3.637 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.5357, allocations: 0.6833 MB / 1.432 GB, free: 2.953 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5357, allocations: 0 / 1.432 GB, free: 2.953 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5357, allocations: 3.938 kB / 1.432 GB, free: 2.949 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.5357, allocations: 0 / 1.432 GB, free: 2.949 MB / 1.123 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.001007/0.5367, allocations: 0.5275 MB / 1.432 GB, free: 2.391 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5368, allocations: 12.03 kB / 1.432 GB, free: 2.379 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.5369, allocations: 54.55 kB / 1.432 GB, free: 2.316 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/0.5375, allocations: 79.67 kB / 1.433 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.538, allocations: 237.7 kB / 1.433 GB, free: 1.98 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.538, allocations: 23.94 kB / 1.433 GB, free: 1.957 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.538, allocations: 16 kB / 1.433 GB, free: 1.941 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.5386, allocations: 287.2 kB / 1.433 GB, free: 1.633 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5386, allocations: 4 kB / 1.433 GB, free: 1.629 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.5386, allocations: 11.94 kB / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.5386, allocations: 11.94 kB / 1.433 GB, free: 1.605 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.5391, allocations: 203.7 kB / 1.433 GB, free: 1.406 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.5407, allocations: 1.163 MB / 1.434 GB, free: 176 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.541, allocations: 176.9 kB / 1.435 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.5413, allocations: 104.2 kB / 1.435 GB, free: 15.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.5419, allocations: 103.9 kB / 1.435 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5419, allocations: 38.69 kB / 1.435 GB, free: 15.69 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.5419, allocations: 0 / 1.435 GB, free: 15.69 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007609/0.5426, allocations: 285.7 kB / 1.435 GB, free: 15.4 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.5427, allocations: 162.2 kB / 1.435 GB, free: 15.21 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.5431, allocations: 284.2 kB / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.5431, allocations: 29.7 kB / 1.436 GB, free: 14.88 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5432, allocations: 151.9 kB / 1.436 GB, free: 14.73 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.5433, allocations: 39.64 kB / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.5433, allocations: 45.66 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5435, allocations: 342.8 kB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.5437, allocations: 63.94 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.544, allocations: 258.1 kB / 1.436 GB, free: 13.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.5443, allocations: 207.5 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5443, allocations: 4 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005231/0.5449, allocations: 249.2 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5449, allocations: 8 kB / 1.437 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5449, allocations: 0 / 1.437 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5449, allocations: 4 kB / 1.437 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.5451, allocations: 40.16 kB / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5451, allocations: 11.94 kB / 1.437 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5453, allocations: 39.7 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.5453, allocations: 8 kB / 1.437 GB, free: 13.34 MB / 1.139 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.000144/0.5455, allocations: 141.8 kB / 1.437 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.5456, allocations: 27.86 kB / 1.437 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.5461, allocations: 198 kB / 1.437 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5461, allocations: 0 / 1.437 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5461, allocations: 8.062 kB / 1.437 GB, free: 12.94 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5461, allocations: 3.938 kB / 1.437 GB, free: 12.94 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.5472, allocations: 0.8033 MB / 1.438 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.5472, allocations: 0 / 1.438 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.5473, allocations: 31.92 kB / 1.438 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5473, allocations: 0 / 1.438 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5473, allocations: 4 kB / 1.438 GB, free: 12.03 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5473, allocations: 0 / 1.438 GB, free: 12.03 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5473, allocations: 7.938 kB / 1.438 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.5479, allocations: 343.6 kB / 1.438 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.548, allocations: 35.81 kB / 1.439 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.548, allocations: 7.938 kB / 1.439 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.5482, allocations: 11.98 kB / 1.439 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.5482, allocations: 7.984 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5482, allocations: 4 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002545/0.5485, allocations: 239 kB / 1.439 GB, free: 11.36 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5485, allocations: 0 / 1.439 GB, free: 11.36 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004553/0.5489, allocations: 95.92 kB / 1.439 GB, free: 11.26 MB / 1.139 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.001231/0.5502, allocations: 0.9738 MB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004186/0.5506, allocations: 152 kB / 1.44 GB, free: 10.1 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5506, allocations: 3.938 kB / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5507, allocations: 55.91 kB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.5515, allocations: 144.5 kB / 1.44 GB, free: 9.902 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.5553, allocations: 2.767 MB / 1.443 GB, free: 6.977 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.5554, allocations: 150.2 kB / 1.443 GB, free: 6.809 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.5556, allocations: 66.88 kB / 1.443 GB, free: 6.742 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5557, allocations: 79.41 kB / 1.443 GB, free: 6.668 MB / 1.139 GB Notification: Performance of SimCode: time 4.01e-07/0.5557, allocations: 0 / 1.443 GB, free: 6.668 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/0.5993, allocations: 9.637 MB / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.35, allocations: 20.16 kB / 1.453 GB, free: 13.28 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! Error: Could not read variable senFloSou.s in file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senFloSou.s from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.442537762224674]