Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.001417/0.001417, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001416/0.001416, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.324/1.324, allocations: 225.6 MB / 249.3 MB, free: 3.215 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.338/2.338, allocations: 443.5 MB / 0.7304 GB, free: 14.03 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.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.89 kB / 1.059 GB, free: 1.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2466, allocations: 160.7 MB / 1.216 GB, free: 40 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003545/0.2501, allocations: 2.309 MB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.2523, allocations: 1.459 MB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2525, allocations: 4 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.253, allocations: 183.1 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.2534, allocations: 139.3 kB / 1.22 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.2538, allocations: 159.5 kB / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.2541, allocations: 271 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2542, allocations: 32.73 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2544, allocations: 119.5 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2546, allocations: 119.4 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.2546, allocations: 12 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2548, allocations: 59.95 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2549, allocations: 103.6 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.255, allocations: 138.9 kB / 1.221 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.2555, allocations: 406 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2555, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2555, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.2555, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001042/0.2565, allocations: 0.7266 MB / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2566, allocations: 12.03 kB / 1.222 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.2566, allocations: 38.75 kB / 1.222 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.2567, allocations: 52.59 kB / 1.222 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.2572, allocations: 408.6 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2572, allocations: 8.125 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.2572, allocations: 12 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.2574, allocations: 97.52 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2574, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2575, allocations: 4 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2575, allocations: 8 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2576, allocations: 47.97 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.2583, allocations: 496.5 kB / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.2586, allocations: 102.7 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.2587, allocations: 36.84 kB / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2587, allocations: 0 / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.2589, allocations: 95.25 kB / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2589, allocations: 3.938 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003704/0.2593, allocations: 181.2 kB / 1.223 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2593, allocations: 59.41 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.2599, allocations: 0.4951 MB / 1.224 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2599, allocations: 25.7 kB / 1.224 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.26, allocations: 232 kB / 1.224 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.2601, allocations: 27.78 kB / 1.224 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.2602, allocations: 45.66 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2603, allocations: 362.8 kB / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2604, allocations: 51.98 kB / 1.224 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.2605, allocations: 76.42 kB / 1.224 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2607, allocations: 99.86 kB / 1.225 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2607, allocations: 3.938 kB / 1.225 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003316/0.2611, allocations: 209.3 kB / 1.225 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2611, allocations: 4 kB / 1.225 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2611, allocations: 4.062 kB / 1.225 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2611, allocations: 4 kB / 1.225 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2612, allocations: 31.98 kB / 1.225 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2613, allocations: 0 / 1.225 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2614, allocations: 19.94 kB / 1.225 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2614, allocations: 12 kB / 1.225 GB, free: 6.238 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001772/0.2616, allocations: 191.9 kB / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2616, allocations: 51.66 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.2619, allocations: 153.9 kB / 1.225 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2619, allocations: 4 kB / 1.225 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2619, allocations: 0 / 1.225 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2619, allocations: 4.078 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.2622, allocations: 329.3 kB / 1.226 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2622, allocations: 0 / 1.226 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.2623, allocations: 7.984 kB / 1.226 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2623, allocations: 4 kB / 1.226 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2623, allocations: 4 kB / 1.226 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2623, allocations: 0 / 1.226 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2623, allocations: 4 kB / 1.226 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.2626, allocations: 220.6 kB / 1.226 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.2627, allocations: 112.9 kB / 1.226 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.2628, allocations: 7.938 kB / 1.226 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.2628, allocations: 7.984 kB / 1.226 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.2629, allocations: 15.98 kB / 1.226 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.2629, allocations: 3.938 kB / 1.226 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000355/0.2632, allocations: 358.9 kB / 1.226 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2632, allocations: 0 / 1.226 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002526/0.2635, allocations: 47.94 kB / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001899/0.2654, allocations: 1.083 MB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.2657, allocations: 105.8 kB / 1.227 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2657, allocations: 0 / 1.227 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.2658, allocations: 35.92 kB / 1.227 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.2661, allocations: 73.22 kB / 1.228 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.2697, allocations: 3.144 MB / 1.231 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.2701, allocations: 0.8221 MB / 1.231 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.2702, allocations: 37.92 kB / 1.231 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.2704, allocations: 123.4 kB / 1.232 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.2704, allocations: 0 / 1.232 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.3015, allocations: 7.73 MB / 1.239 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.882, allocations: 0 / 1.239 GB, free: 7.637 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable assFue.assMes.u in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.assMes.u from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! Error: Could not read variable assFue.mFue_flow in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.mFue_flow from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.129369572998257]