Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001139/0.001139, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001524/0.001524, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.888/2.888, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 11.88 kB / 0.9021 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002655/0.3403, allocations: 1.906 MB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3424, allocations: 1.319 MB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.3426, allocations: 7.938 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.3431, allocations: 167.3 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3435, allocations: 111.5 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.344, allocations: 127.7 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.3444, allocations: 239.1 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3446, allocations: 40.72 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.3447, allocations: 99.48 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3449, allocations: 99.48 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.345, allocations: 4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3451, allocations: 47.92 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3452, allocations: 87.66 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.3453, allocations: 85.5 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3456, allocations: 287.6 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3456, allocations: 3.938 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3456, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3457, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 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.0009479/0.3466, allocations: 0.6454 MB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3467, allocations: 8.031 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3468, allocations: 55.5 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.3473, allocations: 387.1 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3474, allocations: 7.781 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.3474, allocations: 12 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.3476, allocations: 92.45 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3476, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3476, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3477, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3478, allocations: 55.91 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.3485, allocations: 0.4887 MB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3489, allocations: 114.6 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.349, allocations: 32.84 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.349, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.3492, allocations: 95.28 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3492, allocations: 0 / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004059/0.3496, allocations: 177 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3497, allocations: 51.41 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.3503, allocations: 0.4954 MB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3503, allocations: 29.7 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3505, allocations: 224 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3505, allocations: 31.55 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.3505, allocations: 7.938 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3507, allocations: 366.7 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3508, allocations: 44.36 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3509, allocations: 80.42 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.351, allocations: 53.19 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.351, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003485/0.3514, allocations: 206.6 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3514, allocations: 8 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3514, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3515, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3516, allocations: 35.94 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.3516, allocations: 7.984 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3518, allocations: 15.98 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3518, allocations: 8 kB / 1.066 GB, free: 12.7 MB / 0.8262 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.352, allocations: 187.6 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3521, allocations: 47.42 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.347e-05/0.3522, allocations: 47.91 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3522, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3522, allocations: 3.953 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3522, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3525, allocations: 329.3 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3525, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.3526, allocations: 4 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3526, allocations: 7.938 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3526, allocations: 7.984 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3526, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3526, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.353, allocations: 224.3 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.3531, allocations: 112.6 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3532, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.3533, allocations: 20.05 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.3533, allocations: 7.984 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3533, allocations: 4.094 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003825/0.3537, allocations: 358.8 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3537, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002907/0.354, allocations: 51.95 kB / 1.068 GB, free: 11.21 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.3551, allocations: 409.4 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.3555, allocations: 107.9 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3555, allocations: 3.938 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3556, allocations: 43.92 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3561, allocations: 62.2 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3576, allocations: 0.7749 MB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3581, allocations: 0.8301 MB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.3583, allocations: 41.92 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.3584, allocations: 27.42 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3584, allocations: 0 / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.007943/0.3663, allocations: 2.824 MB / 1.073 GB, free: 6.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches