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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001633/0.001633, allocations: 106 kB / 15.99 MB, free: 6.355 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.001751/0.001751, allocations: 196.7 kB / 16.91 MB, free: 6.199 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.38 kB / 0.8127 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2973, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004218/0.3016, allocations: 2.304 MB / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3045, allocations: 1.417 MB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.3047, allocations: 4 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.3054, allocations: 187.6 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.306, allocations: 119.5 kB / 0.9537 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.3065, allocations: 143.7 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.3069, allocations: 275 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.3071, allocations: 60.94 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3073, allocations: 103.5 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3074, allocations: 119.4 kB / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.3075, allocations: 12 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3076, allocations: 51.98 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3078, allocations: 119.5 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3079, allocations: 142.9 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.3083, allocations: 303.3 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3083, allocations: 0 / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3083, allocations: 0 / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3083, allocations: 0 / 0.955 GB, free: 3.887 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.001138/0.3095, allocations: 0.6958 MB / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3095, allocations: 12.03 kB / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3097, allocations: 52.31 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.3102, allocations: 404.1 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3102, allocations: 8.312 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3103, allocations: 15.94 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3105, allocations: 95.83 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3105, allocations: 0 / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3105, allocations: 3.938 kB / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3105, allocations: 7.938 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3107, allocations: 55.97 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007937/0.3115, allocations: 496.4 kB / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.3119, allocations: 114.6 kB / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.3119, allocations: 32.84 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.312, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.3122, allocations: 91.31 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3122, allocations: 0 / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004045/0.3126, allocations: 181 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3127, allocations: 55.39 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.3132, allocations: 0.4951 MB / 0.9577 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3132, allocations: 33.7 kB / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3134, allocations: 220 kB / 0.9579 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3135, allocations: 35.53 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.3135, allocations: 49.7 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3137, allocations: 358.8 kB / 0.9584 GB, free: 204 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3138, allocations: 47.98 kB / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.314, allocations: 80.38 kB / 0.9585 GB, free: 68 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.3142, allocations: 103.7 kB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3142, allocations: 4 kB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003537/0.3145, allocations: 205 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3146, allocations: 8.062 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3146, allocations: 4 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3146, allocations: 0 / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3148, allocations: 39.92 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3148, allocations: 4 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3149, allocations: 11.89 kB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.315, allocations: 12.38 kB / 0.9589 GB, free: 15.67 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.0001848/0.3152, allocations: 193.2 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.3152, allocations: 47.44 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.3153, allocations: 47.91 kB / 0.9591 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3153, allocations: 7.875 kB / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3153, allocations: 0 / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3153, allocations: 3.984 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3156, allocations: 325.4 kB / 0.9594 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3156, allocations: 0 / 0.9594 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.3157, allocations: 8 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3157, allocations: 0 / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3157, allocations: 3.984 kB / 0.9595 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3157, allocations: 4 kB / 0.9595 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3157, allocations: 4 kB / 0.9595 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.3161, allocations: 220.4 kB / 0.9597 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.3162, allocations: 108.6 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.3163, allocations: 4 kB / 0.9598 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.3164, allocations: 11.98 kB / 0.9598 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3164, allocations: 7.984 kB / 0.9598 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3164, allocations: 4.062 kB / 0.9598 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003632/0.3168, allocations: 362.8 kB / 0.9602 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3168, allocations: 0 / 0.9602 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002828/0.3171, allocations: 47.91 kB / 0.9602 GB, free: 14.19 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.0009883/0.3181, allocations: 423.6 kB / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.3184, allocations: 109.6 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3184, allocations: 0 / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.3185, allocations: 47.98 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3189, allocations: 70.02 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3202, allocations: 0.816 MB / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.3206, allocations: 0.8258 MB / 0.9624 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.3207, allocations: 35.36 kB / 0.9625 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.3207, allocations: 0 / 0.9625 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.007609/0.3283, allocations: 4.599 MB / 0.9669 GB, free: 7.414 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 -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