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.001611/0.001611, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001445/0.001445, allocations: 219 kB / 22.25 MB, free: 4.855 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.809 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.027/3.027, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.001973/0.001973, allocations: 72.02 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 176.1 MB / 1.325 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.186/0.5126, allocations: 143.9 MB / 1.466 GB, free: 1.762 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.5186, allocations: 4.224 MB / 1.47 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.519, allocations: 11.88 kB / 1.47 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.5194, allocations: 131 kB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.5208, allocations: 0.564 MB / 1.47 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.5226, allocations: 0.797 MB / 1.471 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007712/0.5234, allocations: 0.5845 MB / 1.472 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.5237, allocations: 161.4 kB / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.5252, allocations: 0.6694 MB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.5258, allocations: 306.8 kB / 1.473 GB, free: 10.3 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.5259, allocations: 20 kB / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.5276, allocations: 0.8532 MB / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.5277, allocations: 91.7 kB / 1.474 GB, free: 9.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.5278, allocations: 103.5 kB / 1.474 GB, free: 9.238 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.5289, allocations: 0.6854 MB / 1.475 GB, free: 8.551 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5289, allocations: 0 / 1.475 GB, free: 8.551 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5289, allocations: 0 / 1.475 GB, free: 8.551 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5289, allocations: 0 / 1.475 GB, free: 8.551 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.000951/0.5299, allocations: 0.5313 MB / 1.475 GB, free: 7.988 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5299, allocations: 16.03 kB / 1.475 GB, free: 7.973 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.53, allocations: 50.53 kB / 1.475 GB, free: 7.914 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.5306, allocations: 79.69 kB / 1.475 GB, free: 7.836 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.531, allocations: 229.7 kB / 1.475 GB, free: 7.586 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.5311, allocations: 16 kB / 1.475 GB, free: 7.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.5311, allocations: 20 kB / 1.476 GB, free: 7.551 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.5316, allocations: 288.1 kB / 1.476 GB, free: 7.242 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5316, allocations: 4 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.5317, allocations: 11.94 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.5317, allocations: 4 kB / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.5321, allocations: 215.5 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.5338, allocations: 1.163 MB / 1.477 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.5341, allocations: 169 kB / 1.477 GB, free: 5.562 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.5343, allocations: 108.2 kB / 1.477 GB, free: 5.441 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.535, allocations: 111.8 kB / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.535, allocations: 46.67 kB / 1.478 GB, free: 5.277 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.535, allocations: 0 / 1.478 GB, free: 5.277 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008006/0.5358, allocations: 273.6 kB / 1.478 GB, free: 5.004 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5359, allocations: 166.2 kB / 1.478 GB, free: 4.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.5362, allocations: 284.2 kB / 1.478 GB, free: 4.52 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.5363, allocations: 33.7 kB / 1.478 GB, free: 4.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.5364, allocations: 147.9 kB / 1.478 GB, free: 4.332 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.5364, allocations: 43.62 kB / 1.478 GB, free: 4.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.5365, allocations: 45.66 kB / 1.479 GB, free: 4.238 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5367, allocations: 342.8 kB / 1.479 GB, free: 3.895 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5369, allocations: 68.08 kB / 1.479 GB, free: 3.828 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.5372, allocations: 243.3 kB / 1.479 GB, free: 3.535 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.5376, allocations: 211.5 kB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5376, allocations: 0 / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005225/0.5381, allocations: 241.2 kB / 1.48 GB, free: 3.059 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5382, allocations: 10.19 kB / 1.48 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5382, allocations: 4.328 kB / 1.48 GB, free: 3.047 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5382, allocations: 4 kB / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.5384, allocations: 43.91 kB / 1.48 GB, free: 3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5384, allocations: 7.984 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.5386, allocations: 35.7 kB / 1.48 GB, free: 2.957 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.5386, allocations: 12 kB / 1.48 GB, free: 2.945 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.0001488/0.5388, allocations: 149.7 kB / 1.48 GB, free: 2.789 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.5389, allocations: 23.86 kB / 1.48 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.5394, allocations: 198.1 kB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.5394, allocations: 3.938 kB / 1.48 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5394, allocations: 8 kB / 1.48 GB, free: 2.539 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5394, allocations: 7.922 kB / 1.48 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5405, allocations: 0.7957 MB / 1.481 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5405, allocations: 4 kB / 1.481 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.5406, allocations: 27.92 kB / 1.481 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5406, allocations: 0 / 1.481 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5406, allocations: 4 kB / 1.481 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.5406, allocations: 8.141 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5406, allocations: 7.938 kB / 1.481 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.5412, allocations: 339.4 kB / 1.481 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.5413, allocations: 43.73 kB / 1.481 GB, free: 1.211 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.5414, allocations: 0 / 1.481 GB, free: 1.211 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5415, allocations: 12 kB / 1.481 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.5416, allocations: 7.984 kB / 1.481 GB, free: 1.191 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5416, allocations: 8.062 kB / 1.481 GB, free: 1.184 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002809/0.5419, allocations: 243 kB / 1.481 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5419, allocations: 0 / 1.481 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004887/0.5423, allocations: 95.83 kB / 1.482 GB, free: 0.8555 MB / 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.001319/0.5437, allocations: 0.9777 MB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.5441, allocations: 143.8 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5441, allocations: 0 / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5442, allocations: 56.7 kB / 1.483 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.545, allocations: 144.7 kB / 1.483 GB, free: 15.5 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.5488, allocations: 2.767 MB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.549, allocations: 146.2 kB / 1.486 GB, free: 12.42 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000222/0.5492, allocations: 70.88 kB / 1.486 GB, free: 12.35 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.5493, allocations: 79.41 kB / 1.486 GB, free: 12.27 MB / 1.186 GB Notification: Performance of SimCode: time 1.021e-06/0.5493, allocations: 0 / 1.486 GB, free: 12.27 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.5917, allocations: 9.65 MB / 1.495 GB, free: 2.867 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.64, allocations: 5.938 kB / 1.495 GB, free: 2.863 MB / 1.186 GB " [Timeout remaining time 288] (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: 18.002559278160334]