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.001318/0.001318, 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.001421/0.001421, allocations: 213.2 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 3.038/3.038, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.002184/0.002184, allocations: 71.25 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3393, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1708/0.5101, allocations: 143.9 MB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.5157, allocations: 4.229 MB / 1.508 GB, free: 9.305 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.516, allocations: 15.88 kB / 1.508 GB, free: 9.289 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.5164, allocations: 123.1 kB / 1.508 GB, free: 9.168 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.5177, allocations: 0.564 MB / 1.509 GB, free: 8.602 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.5194, allocations: 0.7965 MB / 1.51 GB, free: 7.805 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.5201, allocations: 0.5768 MB / 1.51 GB, free: 7.227 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.5204, allocations: 177.3 kB / 1.51 GB, free: 7.047 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.5219, allocations: 0.6656 MB / 1.511 GB, free: 6.379 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.5225, allocations: 306.7 kB / 1.511 GB, free: 6.078 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.5225, allocations: 16 kB / 1.511 GB, free: 6.062 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.5241, allocations: 0.8531 MB / 1.512 GB, free: 5.207 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.5243, allocations: 91.72 kB / 1.512 GB, free: 5.117 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.5244, allocations: 103.5 kB / 1.512 GB, free: 5.016 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009829/0.5254, allocations: 0.6815 MB / 1.513 GB, free: 4.332 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5254, allocations: 4 kB / 1.513 GB, free: 4.328 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5254, allocations: 0 / 1.513 GB, free: 4.328 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5254, allocations: 0 / 1.513 GB, free: 4.328 MB / 1.201 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.0009072/0.5263, allocations: 0.5314 MB / 1.513 GB, free: 3.766 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5263, allocations: 8.031 kB / 1.513 GB, free: 3.758 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.5264, allocations: 54.55 kB / 1.513 GB, free: 3.695 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.527, allocations: 83.67 kB / 1.514 GB, free: 3.613 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.5275, allocations: 229.7 kB / 1.514 GB, free: 3.363 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.5275, allocations: 15.94 kB / 1.514 GB, free: 3.348 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.5275, allocations: 20 kB / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.528, allocations: 284.2 kB / 1.514 GB, free: 3.023 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.528, allocations: 3.938 kB / 1.514 GB, free: 3.02 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.528, allocations: 15.94 kB / 1.514 GB, free: 3.004 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5281, allocations: 8 kB / 1.514 GB, free: 2.996 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.5285, allocations: 199.5 kB / 1.514 GB, free: 2.801 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.5301, allocations: 1.167 MB / 1.515 GB, free: 1.562 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.5303, allocations: 169 kB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.5305, allocations: 112.2 kB / 1.516 GB, free: 1.227 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.5311, allocations: 112 kB / 1.516 GB, free: 1.117 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5312, allocations: 34.56 kB / 1.516 GB, free: 1.074 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5312, allocations: 3.938 kB / 1.516 GB, free: 1.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007362/0.5319, allocations: 281.2 kB / 1.516 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.532, allocations: 158.7 kB / 1.516 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.5323, allocations: 296.2 kB / 1.517 GB, free: 312 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5323, allocations: 25.7 kB / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5324, allocations: 147.9 kB / 1.517 GB, free: 128 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.5325, allocations: 47.64 kB / 1.517 GB, free: 80 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.5325, allocations: 41.7 kB / 1.517 GB, free: 32 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5327, allocations: 334.8 kB / 1.517 GB, free: 15.69 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5329, allocations: 63.89 kB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.5332, allocations: 251.3 kB / 1.517 GB, free: 15.33 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.5335, allocations: 215.5 kB / 1.518 GB, free: 15.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5335, allocations: 0 / 1.518 GB, free: 15.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005018/0.534, allocations: 257.2 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5341, allocations: 10.02 kB / 1.518 GB, free: 14.83 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5341, allocations: 4 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5341, allocations: 0 / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.5343, allocations: 39.92 kB / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5343, allocations: 0 / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5345, allocations: 40.05 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.5345, allocations: 11.98 kB / 1.518 GB, free: 14.73 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.0001469/0.5346, allocations: 153.8 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5348, allocations: 27.81 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.5352, allocations: 186.2 kB / 1.518 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5352, allocations: 7.984 kB / 1.518 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5352, allocations: 0 / 1.518 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5353, allocations: 7.875 kB / 1.518 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/0.5362, allocations: 0.7956 MB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5362, allocations: 4 kB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5364, allocations: 27.92 kB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.5364, allocations: 7.984 kB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5364, allocations: 0 / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5364, allocations: 7.938 kB / 1.519 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5364, allocations: 0 / 1.519 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.537, allocations: 335.7 kB / 1.52 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.537, allocations: 47.7 kB / 1.52 GB, free: 13.01 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.5371, allocations: 7.938 kB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.5372, allocations: 7.984 kB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.5373, allocations: 11.98 kB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5373, allocations: 4 kB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002357/0.5375, allocations: 235 kB / 1.52 GB, free: 12.75 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5375, allocations: 3.938 kB / 1.52 GB, free: 12.75 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004191/0.5379, allocations: 91.88 kB / 1.52 GB, free: 12.66 MB / 1.217 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.001142/0.5391, allocations: 0.9779 MB / 1.521 GB, free: 11.64 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.5395, allocations: 151.8 kB / 1.521 GB, free: 11.49 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5395, allocations: 0 / 1.521 GB, free: 11.49 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5396, allocations: 63.83 kB / 1.521 GB, free: 11.43 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.5404, allocations: 137.5 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.5437, allocations: 2.773 MB / 1.524 GB, free: 8.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.5439, allocations: 154.1 kB / 1.524 GB, free: 8.199 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.5441, allocations: 58.94 kB / 1.524 GB, free: 8.141 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.5442, allocations: 79.41 kB / 1.524 GB, free: 8.062 MB / 1.217 GB Notification: Performance of SimCode: time 3.81e-07/0.5442, allocations: 0 / 1.524 GB, free: 8.062 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.584, allocations: 9.65 MB / 1.534 GB, free: 14.65 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.15, allocations: 10.69 kB / 1.534 GB, free: 14.64 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: 17.60096102906391]