Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001088/0.001088, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001377/0.001377, allocations: 198.9 kB / 16.14 MB, free: 6.645 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.829/2.829, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 0.8685 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8004, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.007679/0.8081, allocations: 2.324 MB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004105/0.8123, allocations: 1.409 MB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.8126, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.8137, allocations: 183.1 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006528/0.8144, allocations: 119.5 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.8153, allocations: 149.7 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.8159, allocations: 251.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.8162, allocations: 54.69 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.8166, allocations: 95.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.8168, allocations: 107.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.8169, allocations: 11.94 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.8172, allocations: 51.91 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.8174, allocations: 95.66 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.8177, allocations: 134.9 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007128/0.8184, allocations: 378.5 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8184, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8184, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.8185, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 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.001913/0.8204, allocations: 0.7135 MB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.8205, allocations: 12.03 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.8206, allocations: 44.38 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.8216, allocations: 408 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.8216, allocations: 8.375 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.8217, allocations: 15.92 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.8221, allocations: 87.62 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8221, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.8221, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.8221, allocations: 8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.8224, allocations: 47.97 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.8237, allocations: 0.4925 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.8244, allocations: 102.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.8245, allocations: 40.78 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.8246, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.8249, allocations: 87.36 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 3.166e-06/0.8249, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006998/0.8256, allocations: 181.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.8257, allocations: 51.41 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009929/0.8267, allocations: 0.495 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.8268, allocations: 33.7 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.8271, allocations: 228 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.8271, allocations: 23.7 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.8273, allocations: 53.69 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.8276, allocations: 358.8 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.8278, allocations: 47.97 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.8281, allocations: 85.42 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.8285, allocations: 93.7 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.8285, allocations: 4 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006829/0.8292, allocations: 215.2 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.8292, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.8293, allocations: 4 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.8293, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.8296, allocations: 39.97 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.8297, allocations: 7.938 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.8299, allocations: 15.84 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.83, allocations: 11.98 kB / 1.026 GB, free: 9.203 MB / 0.7794 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.0003531/0.8304, allocations: 194.3 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.8305, allocations: 43.44 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.8306, allocations: 51.91 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8307, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8307, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.8307, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.8312, allocations: 321.4 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8312, allocations: 0 / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.8314, allocations: 11.94 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8314, allocations: 0 / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.8314, allocations: 4 kB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.8314, allocations: 4 kB / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8314, allocations: 0 / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.8322, allocations: 220.6 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.8323, allocations: 116.5 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.8324, allocations: 11.98 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.8326, allocations: 4 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.8327, allocations: 12.05 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.8327, allocations: 7.984 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007057/0.8335, allocations: 354.8 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8335, allocations: 0 / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004997/0.834, allocations: 47.91 kB / 1.027 GB, free: 7.734 MB / 0.7794 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.001798/0.8358, allocations: 418.4 kB / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.8363, allocations: 107.9 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8363, allocations: 4.062 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.8365, allocations: 43.92 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.8372, allocations: 63.73 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.8394, allocations: 0.7872 MB / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/0.8401, allocations: 0.8239 MB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000244/0.8403, allocations: 45.91 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.8405, allocations: 27.42 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of SimCode: time 8.51e-07/0.8405, allocations: 0 / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of Templates: time 0.0142/0.8547, allocations: 2.896 MB / 1.032 GB, free: 2.668 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches