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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_10_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_10_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.0007907/0.0007906, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006339/0.00634, allocations: 172 kB / 16.27 MB, free: 6.648 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.796/2.796, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 11.98 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7608, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002965/0.7638, allocations: 1.966 MB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.7661, allocations: 1.386 MB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.7663, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.7669, allocations: 175.3 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.7672, allocations: 123.4 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.7676, allocations: 145.5 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.7679, allocations: 255.1 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.7681, allocations: 50.67 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.7683, allocations: 95.45 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.7685, allocations: 103.4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.7685, allocations: 8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.7687, allocations: 51.89 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.7688, allocations: 87.67 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.769, allocations: 160.5 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.7694, allocations: 370.5 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7694, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7694, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7694, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 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.001018/0.7704, allocations: 0.6456 MB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7705, allocations: 8.031 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.7706, allocations: 52.28 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.7711, allocations: 416 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.7712, allocations: 4.375 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.7712, allocations: 15.94 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.7714, allocations: 89.64 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7715, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.7715, allocations: 4 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7715, allocations: 0 / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.7716, allocations: 59.91 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.7725, allocations: 0.4887 MB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.7728, allocations: 114.6 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.7729, allocations: 36.84 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.773, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.7732, allocations: 91.31 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.7732, allocations: 0 / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003941/0.7736, allocations: 177 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.7737, allocations: 51.78 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.7742, allocations: 0.5027 MB / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.7742, allocations: 29.7 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.7744, allocations: 228.1 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.7745, allocations: 27.64 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.7745, allocations: 25.72 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7747, allocations: 358.8 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.7748, allocations: 47.97 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.7749, allocations: 82.11 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.7751, allocations: 103.3 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7752, allocations: 4 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003577/0.7755, allocations: 206.4 kB / 1.032 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.7755, allocations: 8 kB / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7756, allocations: 0 / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7756, allocations: 0 / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.7757, allocations: 35.98 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.7758, allocations: 11.98 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.7759, allocations: 19.84 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.7759, allocations: 8 kB / 1.032 GB, free: 6.824 MB / 0.7794 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.0002127/0.7762, allocations: 189.2 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.7762, allocations: 51.38 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.7763, allocations: 47.91 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7763, allocations: 8 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7763, allocations: 0 / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.7763, allocations: 3.984 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.7766, allocations: 317.4 kB / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7767, allocations: 0 / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.7767, allocations: 11.98 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7767, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7767, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7768, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7768, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.7771, allocations: 224.4 kB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.7772, allocations: 116.5 kB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.7773, allocations: 4 kB / 1.033 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.7774, allocations: 11.98 kB / 1.033 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.7774, allocations: 8.078 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.7775, allocations: 15.92 kB / 1.033 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003808/0.7778, allocations: 354.8 kB / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7779, allocations: 4.062 kB / 1.033 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002744/0.7781, allocations: 43.91 kB / 1.033 GB, free: 5.352 MB / 0.7794 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.001061/0.7792, allocations: 427.5 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.7795, allocations: 115.8 kB / 1.034 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7795, allocations: 0 / 1.034 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.7796, allocations: 39.92 kB / 1.034 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.7801, allocations: 73.72 kB / 1.034 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.7813, allocations: 0.8063 MB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.7817, allocations: 0.8223 MB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.7819, allocations: 41.92 kB / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.7819, allocations: 27.38 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of SimCode: time 1.793e-06/0.7819, allocations: 0 / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of Templates: time 0.007538/0.7895, allocations: 2.868 MB / 1.038 GB, free: 280 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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 & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches