Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 107.6 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 191.6 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 66.42 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3341, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004004/0.3381, allocations: 2.253 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3406, allocations: 1.444 MB / 0.9547 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3409, allocations: 4 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006632/0.3415, allocations: 195.5 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.342, allocations: 135.3 kB / 0.9551 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.3424, allocations: 155.6 kB / 0.9552 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.3428, allocations: 275 kB / 0.9555 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.343, allocations: 48.67 kB / 0.9555 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3432, allocations: 115.5 kB / 0.9556 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3433, allocations: 107.5 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.3434, allocations: 16 kB / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3435, allocations: 55.97 kB / 0.9558 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3436, allocations: 99.55 kB / 0.9559 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3438, allocations: 146.9 kB / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.3442, allocations: 394.5 kB / 0.9564 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3443, allocations: 0 / 0.9564 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3443, allocations: 0 / 0.9564 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3443, allocations: 0 / 0.9564 GB, free: 2.629 MB / 0.7325 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.001244/0.3455, allocations: 0.7084 MB / 0.9571 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.3456, allocations: 12.03 kB / 0.9571 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3457, allocations: 48.38 kB / 0.9572 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.3464, allocations: 408 kB / 0.9575 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3464, allocations: 8.375 kB / 0.9575 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.3464, allocations: 11.94 kB / 0.9576 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.3467, allocations: 97.56 kB / 0.9577 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3467, allocations: 4 kB / 0.9577 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3467, allocations: 8 kB / 0.9577 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3468, allocations: 4 kB / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3469, allocations: 47.97 kB / 0.9577 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.3479, allocations: 0.4886 MB / 0.9582 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.3483, allocations: 106.7 kB / 0.9583 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3484, allocations: 40.78 kB / 0.9583 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.3485, allocations: 0 / 0.9583 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.3487, allocations: 79.38 kB / 0.9584 GB, free: 412 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3487, allocations: 4 kB / 0.9584 GB, free: 408 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004815/0.3492, allocations: 184.9 kB / 0.9586 GB, free: 216 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3493, allocations: 51.41 kB / 0.9586 GB, free: 152 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.3499, allocations: 0.499 MB / 0.9591 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3499, allocations: 29.7 kB / 0.9592 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3502, allocations: 224 kB / 0.9594 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3502, allocations: 31.55 kB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.3503, allocations: 49.64 kB / 0.9594 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.3506, allocations: 362.8 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3507, allocations: 47.98 kB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3509, allocations: 79.61 kB / 0.9599 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.3511, allocations: 99.55 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3511, allocations: 0 / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003851/0.3515, allocations: 209 kB / 0.9602 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3515, allocations: 12.05 kB / 0.9602 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3515, allocations: 0 / 0.9602 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.3516, allocations: 4 kB / 0.9602 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3517, allocations: 31.98 kB / 0.9603 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3518, allocations: 3.984 kB / 0.9603 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3519, allocations: 23.83 kB / 0.9603 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3519, allocations: 8 kB / 0.9603 GB, free: 14.41 MB / 0.7481 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.0002246/0.3522, allocations: 185.5 kB / 0.9605 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.3523, allocations: 51.44 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.896e-05/0.3524, allocations: 43.91 kB / 0.9606 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3524, allocations: 4 kB / 0.9606 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3524, allocations: 0 / 0.9606 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3524, allocations: 0 / 0.9606 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3528, allocations: 329.4 kB / 0.9609 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3528, allocations: 0 / 0.9609 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.3529, allocations: 11.94 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3529, allocations: 0 / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.3529, allocations: 3.984 kB / 0.9609 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3529, allocations: 4 kB / 0.9609 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3529, allocations: 4 kB / 0.9609 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.3534, allocations: 220.7 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3535, allocations: 116.6 kB / 0.9612 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3535, allocations: 4 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.3536, allocations: 4 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.3537, allocations: 15.97 kB / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3537, allocations: 4 kB / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004249/0.3542, allocations: 358.9 kB / 0.9616 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3542, allocations: 0 / 0.9616 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002906/0.3545, allocations: 43.91 kB / 0.9616 GB, free: 12.93 MB / 0.7481 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * 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.001189/0.3557, allocations: 431.1 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.356, allocations: 105.9 kB / 0.9621 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.356, allocations: 4 kB / 0.9621 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3561, allocations: 43.98 kB / 0.9622 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.3566, allocations: 75.95 kB / 0.9623 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3579, allocations: 0.6799 MB / 0.9629 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.3584, allocations: 0.8297 MB / 0.9637 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.3585, allocations: 29.95 kB / 0.9638 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.3586, allocations: 27.42 kB / 0.9638 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/0.3586, allocations: 0 / 0.9638 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.007846/0.3664, allocations: 3.056 MB / 0.9668 GB, free: 7.805 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches