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.001525/0.001525, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001587/0.001587, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.196/2.196, allocations: 390.3 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 66.19 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2558, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004014/0.2598, allocations: 2.251 MB / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2621, allocations: 1.448 MB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.2623, allocations: 0 / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.2629, allocations: 195.5 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.2634, allocations: 131.3 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2639, allocations: 162.9 kB / 0.9544 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.2643, allocations: 275 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.2645, allocations: 52.94 kB / 0.9547 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2647, allocations: 107.6 kB / 0.9548 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2649, allocations: 111.4 kB / 0.9549 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.265, allocations: 16 kB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2651, allocations: 51.98 kB / 0.9549 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2652, allocations: 99.59 kB / 0.955 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.2654, allocations: 146.8 kB / 0.9552 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2659, allocations: 390.5 kB / 0.9556 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2659, allocations: 0 / 0.9556 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2659, allocations: 0 / 0.9556 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.2659, allocations: 0 / 0.9556 GB, free: 3.484 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.001154/0.2671, allocations: 0.6997 MB / 0.9562 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.2671, allocations: 15.97 kB / 0.9562 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2672, allocations: 48.38 kB / 0.9563 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.2678, allocations: 408 kB / 0.9567 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2678, allocations: 8.375 kB / 0.9567 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.2679, allocations: 11.94 kB / 0.9567 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2681, allocations: 89.59 kB / 0.9568 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2681, allocations: 3.984 kB / 0.9568 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2681, allocations: 7.938 kB / 0.9568 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2682, allocations: 8 kB / 0.9568 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2683, allocations: 47.98 kB / 0.9569 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.2691, allocations: 496.4 kB / 0.9573 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.2695, allocations: 110.7 kB / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.2696, allocations: 40.83 kB / 0.9575 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.2696, allocations: 0 / 0.9575 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.2698, allocations: 91.3 kB / 0.9576 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2698, allocations: 4 kB / 0.9576 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004029/0.2702, allocations: 180.9 kB / 0.9577 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2703, allocations: 51.41 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.2708, allocations: 0.499 MB / 0.9583 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.2708, allocations: 33.7 kB / 0.9583 GB, free: 472 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.271, allocations: 220 kB / 0.9585 GB, free: 248 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.271, allocations: 27.56 kB / 0.9585 GB, free: 220 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2711, allocations: 53.69 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2713, allocations: 358.8 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2714, allocations: 47.97 kB / 0.959 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2715, allocations: 76.61 kB / 0.9591 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.2717, allocations: 103.7 kB / 0.9592 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2717, allocations: 0 / 0.9592 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003417/0.2721, allocations: 209.1 kB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2721, allocations: 4 kB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2721, allocations: 4 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2721, allocations: 0 / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2723, allocations: 39.91 kB / 0.9594 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2723, allocations: 4 kB / 0.9594 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2725, allocations: 15.89 kB / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2725, allocations: 11.94 kB / 0.9594 GB, free: 15.27 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.0001828/0.2727, allocations: 197.1 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.2728, allocations: 43.44 kB / 0.9597 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.2729, allocations: 47.91 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2729, allocations: 3.984 kB / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2729, allocations: 0 / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2729, allocations: 0 / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.2732, allocations: 329.4 kB / 0.96 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2732, allocations: 0 / 0.96 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.2732, allocations: 8 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2733, allocations: 0 / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2733, allocations: 4 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.2733, allocations: 4 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2733, allocations: 3.984 kB / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.2737, allocations: 224.7 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.2738, allocations: 108.6 kB / 0.9604 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.2738, allocations: 11.98 kB / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.2739, allocations: 4 kB / 0.9604 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.274, allocations: 12.05 kB / 0.9604 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.274, allocations: 7.984 kB / 0.9604 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003486/0.2743, allocations: 358.8 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2743, allocations: 0 / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002788/0.2746, allocations: 51.91 kB / 0.9608 GB, free: 13.79 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.0009826/0.2756, allocations: 416.4 kB / 0.9612 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.2759, allocations: 117.7 kB / 0.9613 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2759, allocations: 4.062 kB / 0.9613 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.276, allocations: 39.92 kB / 0.9613 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.2765, allocations: 70.2 kB / 0.9614 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2779, allocations: 0.7362 MB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.2784, allocations: 0.8297 MB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.2785, allocations: 19.44 kB / 0.9629 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.2785, allocations: 4 kB / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.007703/0.2862, allocations: 4.599 MB / 0.9674 GB, free: 7.098 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