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.001881/0.001881, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.002109/0.002109, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.9 MB, free: 15.26 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.544/2.544, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 72.58 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3119, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004249/0.3162, allocations: 2.271 MB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3187, allocations: 1.448 MB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.3189, allocations: 4 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.3196, allocations: 183.1 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.32, allocations: 135.3 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.3205, allocations: 170.4 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.3209, allocations: 259.1 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.3211, allocations: 60.94 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3213, allocations: 99.52 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3215, allocations: 119.3 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.3215, allocations: 16 kB / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.3217, allocations: 59.91 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3218, allocations: 91.67 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.322, allocations: 154.8 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.3225, allocations: 382.6 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3226, allocations: 0 / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3226, allocations: 0 / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.3226, allocations: 4 kB / 1.023 GB, free: 5.211 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.00132/0.3239, allocations: 0.6996 MB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3239, allocations: 8.031 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3241, allocations: 44.38 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.3246, allocations: 420.1 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3246, allocations: 4.375 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3247, allocations: 15.88 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.3249, allocations: 89.59 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3249, allocations: 0 / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3249, allocations: 7.984 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.325, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3251, allocations: 51.98 kB / 1.025 GB, free: 3.789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009133/0.326, allocations: 0.4925 MB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.3264, allocations: 102.7 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.3265, allocations: 36.84 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3265, allocations: 3.938 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.3268, allocations: 91.38 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3268, allocations: 0 / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0004101/0.3272, allocations: 177 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.3274, allocations: 55.41 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.3281, allocations: 0.4993 MB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3282, allocations: 33.7 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3284, allocations: 223.9 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.3284, allocations: 27.64 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.3285, allocations: 57.62 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.3288, allocations: 358.7 kB / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3289, allocations: 51.97 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.329, allocations: 80.55 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3292, allocations: 99.42 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3292, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003615/0.3296, allocations: 204.9 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3296, allocations: 8 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3296, allocations: 0 / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3297, allocations: 0 / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3299, allocations: 48.03 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3299, allocations: 0 / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.33, allocations: 19.89 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.33, allocations: 4 kB / 1.027 GB, free: 1.004 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.0003265/0.3304, allocations: 191.7 kB / 1.027 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3304, allocations: 43.44 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.3305, allocations: 47.91 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3305, allocations: 0 / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3305, allocations: 4 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3305, allocations: 4 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3309, allocations: 321.4 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3309, allocations: 0 / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.331, allocations: 8 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.331, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3311, allocations: 4 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3311, allocations: 3.938 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3311, allocations: 3.984 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.3315, allocations: 220.4 kB / 1.028 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3316, allocations: 108.8 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.3317, allocations: 7.984 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.3318, allocations: 8 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3319, allocations: 11.97 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3319, allocations: 8.078 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003823/0.3323, allocations: 362.8 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3323, allocations: 0 / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002835/0.3326, allocations: 51.97 kB / 1.028 GB, free: 15.53 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.00105/0.3336, allocations: 422.2 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3339, allocations: 107.8 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3339, allocations: 3.938 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.3341, allocations: 39.98 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.3345, allocations: 75.53 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3358, allocations: 0.7325 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.3363, allocations: 0.8269 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.3363, allocations: 27.44 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3363, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.009402/0.3458, allocations: 4.6 MB / 1.035 GB, free: 8.84 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=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/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