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.001328/0.001328, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001368/0.001368, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.417/1.417, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.048/3.048, allocations: 0.49 GB / 0.7916 GB, free: 33.57 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.001977/0.001977, allocations: 70.42 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1966/0.511, allocations: 166.7 MB / 1.484 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006481/0.5175, allocations: 4.611 MB / 1.488 GB, free: 7.391 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.5179, allocations: 15.81 kB / 1.488 GB, free: 7.375 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.5183, allocations: 123.1 kB / 1.488 GB, free: 7.254 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.5198, allocations: 0.564 MB / 1.489 GB, free: 6.688 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.5216, allocations: 0.7937 MB / 1.49 GB, free: 5.895 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.5224, allocations: 0.5729 MB / 1.49 GB, free: 5.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.5228, allocations: 177.2 kB / 1.49 GB, free: 5.145 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.5243, allocations: 0.685 MB / 1.491 GB, free: 4.457 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.5249, allocations: 306.8 kB / 1.491 GB, free: 4.156 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.525, allocations: 20 kB / 1.491 GB, free: 4.137 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.5267, allocations: 1.075 MB / 1.492 GB, free: 3.059 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.5268, allocations: 95.7 kB / 1.492 GB, free: 2.965 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.5269, allocations: 123.3 kB / 1.493 GB, free: 2.844 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.5281, allocations: 0.7205 MB / 1.493 GB, free: 2.121 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5281, allocations: 0 / 1.493 GB, free: 2.121 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5281, allocations: 0 / 1.493 GB, free: 2.121 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.5281, allocations: 0 / 1.493 GB, free: 2.121 MB / 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.001013/0.5291, allocations: 0.6121 MB / 1.494 GB, free: 1.461 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5292, allocations: 11.98 kB / 1.494 GB, free: 1.449 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.5292, allocations: 54.55 kB / 1.494 GB, free: 1.387 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.5299, allocations: 79.69 kB / 1.494 GB, free: 1.309 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.5303, allocations: 299.4 kB / 1.494 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5304, allocations: 16 kB / 1.494 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.5304, allocations: 20 kB / 1.494 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.5309, allocations: 287.4 kB / 1.495 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5309, allocations: 0 / 1.495 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.531, allocations: 15.88 kB / 1.495 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.531, allocations: 4 kB / 1.495 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.5314, allocations: 211.5 kB / 1.495 GB, free: 416 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.5331, allocations: 1.242 MB / 1.496 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.5334, allocations: 177 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.5336, allocations: 108.4 kB / 1.496 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/0.5343, allocations: 335.2 kB / 1.497 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5344, allocations: 30.56 kB / 1.497 GB, free: 14.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.5344, allocations: 4 kB / 1.497 GB, free: 14.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007802/0.5352, allocations: 277.2 kB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.5352, allocations: 162.2 kB / 1.497 GB, free: 13.84 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.5355, allocations: 283.5 kB / 1.497 GB, free: 13.56 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5356, allocations: 25.7 kB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5357, allocations: 159.8 kB / 1.497 GB, free: 13.37 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.5357, allocations: 47.62 kB / 1.498 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.5358, allocations: 45.66 kB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.536, allocations: 346.7 kB / 1.498 GB, free: 12.92 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.5362, allocations: 71.94 kB / 1.498 GB, free: 12.85 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.5364, allocations: 142.7 kB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.5368, allocations: 211.5 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5368, allocations: 0 / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005371/0.5373, allocations: 249.2 kB / 1.499 GB, free: 12.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5374, allocations: 4 kB / 1.499 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5374, allocations: 4 kB / 1.499 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5374, allocations: 4 kB / 1.499 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5376, allocations: 39.91 kB / 1.499 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.5376, allocations: 4 kB / 1.499 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.5378, allocations: 39.95 kB / 1.499 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.5378, allocations: 12 kB / 1.499 GB, free: 12.09 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.0001374/0.5379, allocations: 147.5 kB / 1.499 GB, free: 11.94 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.5381, allocations: 24.23 kB / 1.499 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.5386, allocations: 193.7 kB / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5386, allocations: 4 kB / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5386, allocations: 0 / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5386, allocations: 7.938 kB / 1.499 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5396, allocations: 0.8511 MB / 1.5 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5396, allocations: 0 / 1.5 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.5397, allocations: 31.86 kB / 1.5 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5397, allocations: 0 / 1.5 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.5397, allocations: 4.281 kB / 1.5 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.5397, allocations: 8 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5397, allocations: 4 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.5403, allocations: 339.5 kB / 1.5 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5404, allocations: 116.9 kB / 1.5 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.5405, allocations: 4 kB / 1.5 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.5406, allocations: 8 kB / 1.5 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.5407, allocations: 11.92 kB / 1.5 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5407, allocations: 7.938 kB / 1.5 GB, free: 10.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002508/0.5409, allocations: 242 kB / 1.501 GB, free: 9.961 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5409, allocations: 0 / 1.501 GB, free: 9.961 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004476/0.5414, allocations: 99.8 kB / 1.501 GB, free: 9.863 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.001204/0.5426, allocations: 0.97 MB / 1.502 GB, free: 8.852 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.543, allocations: 159.8 kB / 1.502 GB, free: 8.695 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.543, allocations: 4 kB / 1.502 GB, free: 8.691 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.5431, allocations: 48.72 kB / 1.502 GB, free: 8.645 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.5439, allocations: 143.6 kB / 1.502 GB, free: 8.508 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.5475, allocations: 2.766 MB / 1.505 GB, free: 5.59 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.548, allocations: 0.7558 MB / 1.505 GB, free: 4.809 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.5482, allocations: 58.94 kB / 1.505 GB, free: 4.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5483, allocations: 83.34 kB / 1.506 GB, free: 4.668 MB / 1.201 GB Notification: Performance of SimCode: time 3.8e-07/0.5483, allocations: 3.938 kB / 1.506 GB, free: 4.664 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.586, allocations: 8.597 MB / 1.514 GB, free: 12.22 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.673, allocations: 16.7 kB / 1.514 GB, free: 12.2 MB / 1.217 GB " [Timeout remaining time 291] (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: 14.998297850135714]