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.001609/0.001609, allocations: 108 kB / 15.6 MB, free: 132 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.00204/0.00204, allocations: 194 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.459/2.459, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 71.88 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.79/0.7914, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003735/0.7951, allocations: 2.262 MB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.7972, allocations: 1.441 MB / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.7974, allocations: 6.594 kB / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.7981, allocations: 182.2 kB / 0.9534 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.7984, allocations: 138.1 kB / 0.9535 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.7988, allocations: 170.8 kB / 0.9537 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.7991, allocations: 269.2 kB / 0.9539 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.7993, allocations: 56.36 kB / 0.954 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.7994, allocations: 105.3 kB / 0.9541 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.7996, allocations: 107.3 kB / 0.9542 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.7996, allocations: 13.84 kB / 0.9542 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.7998, allocations: 56.95 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.7999, allocations: 100.3 kB / 0.9543 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.8, allocations: 149.7 kB / 0.9545 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.8004, allocations: 384.3 kB / 0.9549 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8004, allocations: 0 / 0.9549 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8004, allocations: 1.25 kB / 0.9549 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8004, allocations: 0 / 0.9549 GB, free: 5.172 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.0009441/0.8014, allocations: 0.7074 MB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8014, allocations: 9.719 kB / 0.9556 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.8015, allocations: 45.81 kB / 0.9556 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.8021, allocations: 409 kB / 0.956 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.8021, allocations: 11.75 kB / 0.956 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.8022, allocations: 9.75 kB / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.8024, allocations: 98.73 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8024, allocations: 1.094 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.8024, allocations: 0 / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8024, allocations: 2.594 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.8026, allocations: 54.06 kB / 0.9562 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.8033, allocations: 498.3 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.8037, allocations: 106.7 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.8038, allocations: 36 kB / 0.9568 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.8039, allocations: 5.641 kB / 0.9568 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.804, allocations: 98.61 kB / 0.9569 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.8041, allocations: 0 / 0.9569 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003803/0.8044, allocations: 179.3 kB / 0.957 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.8045, allocations: 55.34 kB / 0.9571 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.805, allocations: 0.4977 MB / 0.9576 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.805, allocations: 27.08 kB / 0.9576 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.8052, allocations: 228.8 kB / 0.9578 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.8052, allocations: 33.09 kB / 0.9579 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.8053, allocations: 45.48 kB / 0.9579 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.8054, allocations: 359.5 kB / 0.9582 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.8055, allocations: 48.5 kB / 0.9583 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.8056, allocations: 79.98 kB / 0.9584 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.8058, allocations: 101.5 kB / 0.9585 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8059, allocations: 0 / 0.9585 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003282/0.8062, allocations: 207.2 kB / 0.9587 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8062, allocations: 5.25 kB / 0.9587 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8062, allocations: 0.7812 kB / 0.9587 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8063, allocations: 5.438 kB / 0.9587 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.8064, allocations: 36.95 kB / 0.9587 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.8064, allocations: 4.922 kB / 0.9587 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.8066, allocations: 23.53 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.8066, allocations: 6.344 kB / 0.9587 GB, free: 2.023 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.0001709/0.8068, allocations: 192.4 kB / 0.9589 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.8068, allocations: 44.59 kB / 0.959 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.8069, allocations: 46.66 kB / 0.959 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8069, allocations: 10.06 kB / 0.959 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.807, allocations: 0 / 0.959 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.807, allocations: 0 / 0.959 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.8072, allocations: 312.6 kB / 0.9593 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8072, allocations: 4 kB / 0.9593 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.8073, allocations: 11.33 kB / 0.9593 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8073, allocations: 1.344 kB / 0.9593 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.8073, allocations: 5.156 kB / 0.9593 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8073, allocations: 1.031 kB / 0.9593 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8073, allocations: 0 / 0.9593 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.8077, allocations: 225.1 kB / 0.9596 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.8077, allocations: 118.4 kB / 0.9597 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.8078, allocations: 5.5 kB / 0.9597 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.8079, allocations: 8.047 kB / 0.9597 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.8079, allocations: 13.42 kB / 0.9597 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.808, allocations: 3.281 kB / 0.9597 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003343/0.8083, allocations: 353.5 kB / 0.96 GB, free: 1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8083, allocations: 0 / 0.96 GB, free: 1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002665/0.8086, allocations: 49.17 kB / 0.9601 GB, free: 0.9883 MB / 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.0009707/0.8096, allocations: 426.4 kB / 0.9605 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.8099, allocations: 115.3 kB / 0.9606 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8099, allocations: 0 / 0.9606 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.81, allocations: 43.7 kB / 0.9606 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.8104, allocations: 76.42 kB / 0.9607 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.8118, allocations: 0.6948 MB / 0.9614 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.8123, allocations: 0.824 MB / 0.9622 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.8125, allocations: 42.23 kB / 0.9622 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.8126, allocations: 29.95 kB / 0.9623 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8126, allocations: 4 kB / 0.9623 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.008842/0.8214, allocations: 3.051 MB / 0.9652 GB, free: 13.92 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/jenkins/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