Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.388/2.388, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.89 kB / 1.059 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2619, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6777/0.9396, allocations: 163.9 MB / 1.376 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005759/0.9454, allocations: 4.621 MB / 1.38 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.9457, allocations: 10.09 kB / 1.38 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.9462, allocations: 131.4 kB / 1.38 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.9475, allocations: 0.5567 MB / 1.381 GB, free: 9.316 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.9493, allocations: 0.7831 MB / 1.382 GB, free: 8.934 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007435/0.95, allocations: 0.5817 MB / 1.382 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.9503, allocations: 165.3 kB / 1.382 GB, free: 8.602 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.9514, allocations: 483.4 kB / 1.383 GB, free: 8.387 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.952, allocations: 307.4 kB / 1.383 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.952, allocations: 18.31 kB / 1.383 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.9537, allocations: 1.072 MB / 1.384 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.9538, allocations: 94.78 kB / 1.384 GB, free: 7.816 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.954, allocations: 125.2 kB / 1.384 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.9552, allocations: 0.7159 MB / 1.385 GB, free: 7.312 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9552, allocations: 0 / 1.385 GB, free: 7.312 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9552, allocations: 0 / 1.385 GB, free: 7.312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9552, allocations: 3.938 kB / 1.385 GB, free: 7.309 MB / 1.061 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.001003/0.9562, allocations: 0.6102 MB / 1.386 GB, free: 6.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.9563, allocations: 9.594 kB / 1.386 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.9563, allocations: 54.17 kB / 1.386 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006203/0.9569, allocations: 82.14 kB / 1.386 GB, free: 6.652 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.9573, allocations: 293.4 kB / 1.386 GB, free: 6.375 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.9574, allocations: 19.98 kB / 1.386 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.9574, allocations: 17.84 kB / 1.386 GB, free: 6.359 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.9579, allocations: 283.3 kB / 1.386 GB, free: 6.152 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.9579, allocations: 5.203 kB / 1.386 GB, free: 6.148 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.9579, allocations: 9.25 kB / 1.386 GB, free: 6.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.958, allocations: 9.094 kB / 1.386 GB, free: 6.137 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.9584, allocations: 200.3 kB / 1.387 GB, free: 6.043 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.9598, allocations: 1.246 MB / 1.388 GB, free: 4.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.9601, allocations: 173.3 kB / 1.388 GB, free: 4.742 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.9603, allocations: 108.7 kB / 1.388 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.961, allocations: 328.2 kB / 1.388 GB, free: 4.344 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.961, allocations: 46.17 kB / 1.388 GB, free: 4.293 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.961, allocations: 0 / 1.388 GB, free: 4.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007286/0.9618, allocations: 278 kB / 1.389 GB, free: 4.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.9619, allocations: 160.6 kB / 1.389 GB, free: 3.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.9621, allocations: 287.3 kB / 1.389 GB, free: 3.766 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.9622, allocations: 30.92 kB / 1.389 GB, free: 3.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.9623, allocations: 148.3 kB / 1.389 GB, free: 3.594 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.9623, allocations: 52.92 kB / 1.389 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/0.9624, allocations: 38.33 kB / 1.389 GB, free: 3.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9625, allocations: 344.6 kB / 1.39 GB, free: 3.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.9627, allocations: 64.42 kB / 1.39 GB, free: 3.152 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.9629, allocations: 146 kB / 1.39 GB, free: 3.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.9633, allocations: 210.2 kB / 1.39 GB, free: 2.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9633, allocations: 1.469 kB / 1.39 GB, free: 2.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005059/0.9638, allocations: 240.5 kB / 1.39 GB, free: 2.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.9638, allocations: 6.219 kB / 1.39 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9638, allocations: 6.281 kB / 1.39 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.9638, allocations: 7.375 kB / 1.39 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.964, allocations: 44.16 kB / 1.39 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.964, allocations: 3.469 kB / 1.39 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.9642, allocations: 30.27 kB / 1.39 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.9642, allocations: 17.28 kB / 1.39 GB, free: 2.699 MB / 1.061 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.0001355/0.9644, allocations: 147 kB / 1.391 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.9645, allocations: 32.66 kB / 1.391 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.9649, allocations: 183.9 kB / 1.391 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9649, allocations: 1.625 kB / 1.391 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.965, allocations: 1.656 kB / 1.391 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.965, allocations: 1.75 kB / 1.391 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.9659, allocations: 0.8532 MB / 1.392 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9659, allocations: 6.844 kB / 1.392 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.966, allocations: 22.52 kB / 1.392 GB, free: 1.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.966, allocations: 6.094 kB / 1.392 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.9661, allocations: 10.05 kB / 1.392 GB, free: 1.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9661, allocations: 2.312 kB / 1.392 GB, free: 1.582 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.9661, allocations: 1.031 kB / 1.392 GB, free: 1.582 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.9666, allocations: 341.7 kB / 1.392 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.9667, allocations: 115.8 kB / 1.392 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.9667, allocations: 6.438 kB / 1.392 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.9669, allocations: 9.469 kB / 1.392 GB, free: 1.184 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.9669, allocations: 12.42 kB / 1.392 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.9669, allocations: 8.406 kB / 1.392 GB, free: 1.172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002364/0.9672, allocations: 236.8 kB / 1.392 GB, free: 1.016 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9672, allocations: 0 / 1.392 GB, free: 1.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004451/0.9676, allocations: 99.55 kB / 1.392 GB, free: 0.9922 MB / 1.061 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.001232/0.9688, allocations: 0.9965 MB / 1.393 GB, free: 140 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.9692, allocations: 143.6 kB / 1.394 GB, free: 76 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9692, allocations: 0 / 1.394 GB, free: 76 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9694, allocations: 59.55 kB / 1.394 GB, free: 48 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.9701, allocations: 140.5 kB / 1.394 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.9735, allocations: 2.774 MB / 1.396 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.9739, allocations: 0.7589 MB / 1.397 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.9741, allocations: 67.47 kB / 1.397 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.9742, allocations: 74.53 kB / 1.397 GB, free: 13.01 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.9742, allocations: 0 / 1.397 GB, free: 13.01 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/1.008, allocations: 8.656 MB / 1.406 GB, free: 8.668 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/8.408, allocations: 15.38 kB / 1.406 GB, free: 8.66 MB / 1.076 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! Error: Could not read variable senFloSou.s in file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senFloSou.s from file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.736843877995852]