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.001373/0.001373, allocations: 112.6 kB / 16.37 MB, free: 6 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.001672/0.001672, allocations: 196 kB / 17.31 MB, free: 5.613 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.17 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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 61.66 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3217, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004252/0.326, allocations: 2.268 MB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.3284, allocations: 1.448 MB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.3286, allocations: 0 / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.3292, allocations: 199.5 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.3296, allocations: 135.3 kB / 0.9551 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.33, allocations: 159.3 kB / 0.9552 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.3303, allocations: 267 kB / 0.9555 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3305, allocations: 64.66 kB / 0.9555 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3307, allocations: 107.5 kB / 0.9556 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3308, allocations: 111.4 kB / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3309, allocations: 12 kB / 0.9558 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.331, allocations: 59.97 kB / 0.9558 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3311, allocations: 99.59 kB / 0.9559 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3313, allocations: 146.8 kB / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.3317, allocations: 390.6 kB / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3317, allocations: 0 / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3317, allocations: 7.875 kB / 0.9564 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3318, allocations: 7.938 kB / 0.9564 GB, free: 2.602 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.001077/0.3328, allocations: 0.6997 MB / 0.9571 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3329, allocations: 8.031 kB / 0.9571 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.333, allocations: 44.38 kB / 0.9572 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.3335, allocations: 416 kB / 0.9576 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3336, allocations: 8.375 kB / 0.9576 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3336, allocations: 11.94 kB / 0.9576 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3338, allocations: 93.58 kB / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3338, allocations: 0 / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3338, allocations: 4 kB / 0.9577 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3339, allocations: 0 / 0.9577 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.334, allocations: 55.97 kB / 0.9577 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.3348, allocations: 0.4925 MB / 0.9582 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.3352, allocations: 110.6 kB / 0.9583 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.3353, allocations: 32.84 kB / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3353, allocations: 0 / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3355, allocations: 91.38 kB / 0.9584 GB, free: 388 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3355, allocations: 0 / 0.9584 GB, free: 388 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004142/0.3359, allocations: 177 kB / 0.9586 GB, free: 204 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.336, allocations: 55.41 kB / 0.9587 GB, free: 136 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.3365, allocations: 0.4951 MB / 0.9591 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3365, allocations: 33.7 kB / 0.9592 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3367, allocations: 220 kB / 0.9594 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3368, allocations: 31.56 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.3369, allocations: 53.69 kB / 0.9595 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.337, allocations: 358.8 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3371, allocations: 47.92 kB / 0.9599 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3373, allocations: 74.55 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3375, allocations: 108 kB / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3375, allocations: 0 / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003298/0.3378, allocations: 202.9 kB / 0.9602 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3378, allocations: 8 kB / 0.9602 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3379, allocations: 3.938 kB / 0.9602 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3379, allocations: 3.984 kB / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.338, allocations: 35.98 kB / 0.9603 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3381, allocations: 7.938 kB / 0.9603 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3382, allocations: 15.89 kB / 0.9603 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3382, allocations: 12.03 kB / 0.9603 GB, free: 14.39 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.0001815/0.3384, allocations: 187.4 kB / 0.9605 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.3385, allocations: 43.44 kB / 0.9605 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.3386, allocations: 47.91 kB / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3386, allocations: 0 / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3386, allocations: 0 / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3386, allocations: 0 / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3389, allocations: 329.4 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3389, allocations: 4 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.339, allocations: 15.94 kB / 0.9609 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.339, allocations: 0 / 0.9609 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.339, allocations: 11.92 kB / 0.9609 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.339, allocations: 0 / 0.9609 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.339, allocations: 0 / 0.9609 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3394, allocations: 216.4 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.3395, allocations: 112.6 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.3395, allocations: 4 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.3396, allocations: 12.06 kB / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.3397, allocations: 7.984 kB / 0.9613 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3397, allocations: 7.984 kB / 0.9613 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003505/0.34, allocations: 354.8 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3401, allocations: 0 / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002669/0.3403, allocations: 47.91 kB / 0.9616 GB, free: 12.92 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.0009844/0.3413, allocations: 416.3 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3416, allocations: 119.8 kB / 0.9622 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3416, allocations: 0 / 0.9622 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.3417, allocations: 43.97 kB / 0.9622 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3421, allocations: 79.61 kB / 0.9623 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3432, allocations: 0.6799 MB / 0.9629 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3437, allocations: 0.8297 MB / 0.9637 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3438, allocations: 33.94 kB / 0.9638 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.3439, allocations: 31.42 kB / 0.9638 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.3439, allocations: 0 / 0.9638 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of Templates: time 0.007388/0.3513, allocations: 3.055 MB / 0.9668 GB, free: 7.785 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 gbode -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