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.001754/0.001754, allocations: 101.8 kB / 16.27 MB, free: 5.965 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.001921/0.001921, allocations: 188.1 kB / 17.2 MB, free: 5.59 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.583/2.583, allocations: 437.1 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 69.5 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.322, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00399/0.326, allocations: 2.263 MB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.3284, allocations: 1.452 MB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3286, allocations: 4 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.3292, allocations: 183.1 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.3296, allocations: 131.3 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.33, allocations: 164.6 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.3303, allocations: 267.1 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3305, allocations: 52.94 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3306, allocations: 111.5 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.3308, allocations: 111.4 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.3308, allocations: 16 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.331, allocations: 59.91 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3311, allocations: 95.66 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.3313, allocations: 146.9 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3317, allocations: 382.6 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3317, allocations: 4 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3317, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3317, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 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.001066/0.3328, allocations: 0.7074 MB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3328, allocations: 8.625 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.3329, allocations: 52.38 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.3335, allocations: 396.1 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3335, allocations: 12.31 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.3335, allocations: 7.938 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3338, allocations: 93.58 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3338, allocations: 8 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3338, allocations: 4 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3338, allocations: 0 / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.334, allocations: 51.97 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.3347, allocations: 0.4886 MB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.3351, allocations: 106.7 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.3352, allocations: 36.84 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3353, allocations: 7.938 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.3355, allocations: 95.3 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3355, allocations: 0 / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0003927/0.3359, allocations: 181 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3359, allocations: 51.41 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.3365, allocations: 0.499 MB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3365, allocations: 29.7 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3367, allocations: 223.9 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.3368, allocations: 31.64 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.3369, allocations: 53.64 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.337, allocations: 362.8 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3371, allocations: 47.97 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3373, allocations: 79.61 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3375, allocations: 99.45 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3375, allocations: 0 / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003703/0.3379, allocations: 214.8 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3379, allocations: 4 kB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3379, allocations: 0 / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3379, allocations: 0 / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3381, allocations: 39.97 kB / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3381, allocations: 0 / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3383, allocations: 15.91 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.3383, allocations: 12.02 kB / 1.027 GB, free: 0.9297 MB / 0.795 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.0001889/0.3385, allocations: 191.7 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.3385, allocations: 43.44 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.3386, allocations: 47.91 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3386, allocations: 0 / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3386, allocations: 4 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3387, allocations: 0 / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.339, allocations: 321.8 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.339, allocations: 3.984 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.339, allocations: 12 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.3391, allocations: 0 / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3391, allocations: 11.88 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3391, allocations: 0 / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3391, allocations: 0 / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.3395, allocations: 220.4 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3396, allocations: 112.6 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.3396, allocations: 4 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3397, allocations: 12.05 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3398, allocations: 7.984 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3398, allocations: 12 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003825/0.3402, allocations: 354.8 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3402, allocations: 0 / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002679/0.3405, allocations: 51.89 kB / 1.028 GB, free: 15.46 MB / 0.8106 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.001513/0.342, allocations: 422.3 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3423, allocations: 119.8 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3423, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-05/0.3424, allocations: 31.98 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3428, allocations: 78.95 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.344, allocations: 0.7404 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3445, allocations: 0.8191 MB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.3446, allocations: 31.42 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3446, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of Templates: time 0.007743/0.3523, allocations: 4.597 MB / 1.035 GB, free: 8.77 MB / 0.8106 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=400 -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/jenkins1/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