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.001213/0.001213, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 182.7 kB / 16.92 MB, free: 6.922 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 / 241 MB, free: 5.344 MB / 190.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.414/2.414, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004431, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7209, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002376/0.7233, allocations: 1.946 MB / 0.9576 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.7252, allocations: 1.389 MB / 0.959 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.7253, allocations: 2.438 kB / 0.959 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.7258, allocations: 184.9 kB / 0.9592 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.7261, allocations: 120.5 kB / 0.9593 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.7265, allocations: 144.2 kB / 0.9594 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.7268, allocations: 254.3 kB / 0.9596 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.727, allocations: 50.06 kB / 0.9597 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.7271, allocations: 99.31 kB / 0.9598 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.7272, allocations: 103.2 kB / 0.9599 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.7273, allocations: 4.344 kB / 0.9599 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.7274, allocations: 46.64 kB / 0.9599 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.7275, allocations: 92.59 kB / 0.96 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.7276, allocations: 158.8 kB / 0.9602 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.7279, allocations: 287.8 kB / 0.9604 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7279, allocations: 1.094 kB / 0.9605 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7279, allocations: 0 / 0.9605 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7279, allocations: 0 / 0.9605 GB, free: 4.148 MB / 0.7169 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.0008482/0.7288, allocations: 0.6535 MB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7288, allocations: 9.281 kB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.7289, allocations: 46.06 kB / 0.9611 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.7293, allocations: 404.8 kB / 0.9615 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.7294, allocations: 8.5 kB / 0.9615 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.7294, allocations: 21.34 kB / 0.9616 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.7296, allocations: 95.83 kB / 0.9616 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7296, allocations: 0 / 0.9616 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7296, allocations: 0 / 0.9616 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7297, allocations: 6.688 kB / 0.9617 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.7298, allocations: 50.09 kB / 0.9617 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.7305, allocations: 0.4981 MB / 0.9622 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.7308, allocations: 100.4 kB / 0.9623 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.7309, allocations: 45.23 kB / 0.9623 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.7309, allocations: 1.188 kB / 0.9623 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.7311, allocations: 93.47 kB / 0.9624 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.7311, allocations: 0 / 0.9624 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003542/0.7315, allocations: 179.1 kB / 0.9626 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.7315, allocations: 52.34 kB / 0.9626 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.732, allocations: 0.4978 MB / 0.9631 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.732, allocations: 30.92 kB / 0.9632 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.7322, allocations: 233.7 kB / 0.9634 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.7322, allocations: 24.48 kB / 0.9634 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.7322, allocations: 24.34 kB / 0.9634 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.7323, allocations: 360.5 kB / 0.9638 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7324, allocations: 48.62 kB / 0.9638 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.7325, allocations: 79.02 kB / 0.9639 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.7327, allocations: 104.5 kB / 0.964 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7327, allocations: 1.125 kB / 0.964 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003071/0.7331, allocations: 211 kB / 0.9642 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7331, allocations: 5.438 kB / 0.9642 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7331, allocations: 0 / 0.9642 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7331, allocations: 2 kB / 0.9642 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.7333, allocations: 37.14 kB / 0.9642 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.7333, allocations: 9.203 kB / 0.9642 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.7334, allocations: 21.22 kB / 0.9643 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.7335, allocations: 6.875 kB / 0.9643 GB, free: 1.043 MB / 0.7169 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.0001372/0.7336, allocations: 189.8 kB / 0.9644 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.7336, allocations: 48.12 kB / 0.9645 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.351e-05/0.7337, allocations: 47.25 kB / 0.9645 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.7337, allocations: 5.438 kB / 0.9645 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7338, allocations: 0 / 0.9645 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7338, allocations: 1.094 kB / 0.9645 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.734, allocations: 316.7 kB / 0.9648 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.734, allocations: 0 / 0.9648 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.7341, allocations: 15.17 kB / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7341, allocations: 384 / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.7341, allocations: 2.562 kB / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7341, allocations: 0 / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7341, allocations: 0 / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.7344, allocations: 233.2 kB / 0.9651 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.7345, allocations: 114.2 kB / 0.9652 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.7345, allocations: 6.281 kB / 0.9652 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.7346, allocations: 9.484 kB / 0.9652 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.7347, allocations: 9.734 kB / 0.9652 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7347, allocations: 3.375 kB / 0.9652 GB, free: 232 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003851/0.7351, allocations: 364.3 kB / 0.9656 GB, free: 12 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7351, allocations: 0 / 0.9656 GB, free: 12 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002989/0.7354, allocations: 45.97 kB / 0.9656 GB, free: 4 kB / 0.7169 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.001201/0.7366, allocations: 428.1 kB / 0.966 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002891/0.7369, allocations: 110.2 kB / 0.9661 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.737, allocations: 0.7812 kB / 0.9661 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.7371, allocations: 46.83 kB / 0.9662 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.7376, allocations: 69.92 kB / 0.9662 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.7391, allocations: 0.8538 MB / 0.9671 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.7396, allocations: 0.8257 MB / 0.9679 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.7397, allocations: 26.67 kB / 0.9679 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7397, allocations: 0 / 0.9679 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.009013/0.7487, allocations: 4.608 MB / 0.9724 GB, free: 11.89 MB / 0.7325 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 -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