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.001207/0.001207, allocations: 104 kB / 16.35 MB, free: 5.824 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.001216/0.001216, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004443/0.3385, allocations: 2.277 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3409, allocations: 1.44 MB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.3411, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.3419, allocations: 191.5 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.3424, allocations: 131.3 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.343, allocations: 167.5 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.3434, allocations: 263.1 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3436, allocations: 56.66 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3438, allocations: 115.4 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3439, allocations: 115.4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.344, allocations: 12 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3441, allocations: 51.92 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3443, allocations: 95.66 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3444, allocations: 150.8 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.3449, allocations: 398.4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3449, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3449, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.345, allocations: 4 kB / 1.032 GB, free: 12.59 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.001145/0.3461, allocations: 0.697 MB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3462, allocations: 12.03 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.3463, allocations: 48.38 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.3469, allocations: 412 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3469, allocations: 8.375 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.3469, allocations: 15.94 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.3472, allocations: 93.58 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3472, allocations: 3.938 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3472, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3472, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3474, allocations: 55.91 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.3482, allocations: 496.4 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.3486, allocations: 106.7 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.3487, allocations: 32.84 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3488, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.349, allocations: 91.38 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.349, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004269/0.3494, allocations: 177 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3495, allocations: 59.33 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.35, allocations: 0.4955 MB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3501, allocations: 29.7 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3503, allocations: 231.9 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3503, allocations: 31.64 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.3504, allocations: 45.64 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3506, allocations: 362.8 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3507, allocations: 47.98 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3508, allocations: 75.67 kB / 1.036 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.351, allocations: 103.4 kB / 1.036 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.351, allocations: 0 / 1.036 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003597/0.3514, allocations: 208.9 kB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3514, allocations: 4 kB / 1.036 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3514, allocations: 0 / 1.036 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3515, allocations: 4 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3516, allocations: 39.92 kB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3517, allocations: 0 / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3518, allocations: 15.89 kB / 1.036 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3518, allocations: 16.03 kB / 1.036 GB, free: 8.379 MB / 0.8106 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.0001874/0.352, allocations: 189.7 kB / 1.036 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.3521, allocations: 43.44 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.3522, allocations: 51.89 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3522, allocations: 3.938 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3522, allocations: 0 / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3522, allocations: 0 / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.3525, allocations: 333.3 kB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3525, allocations: 0 / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.3526, allocations: 12 kB / 1.036 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3526, allocations: 4 kB / 1.036 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3526, allocations: 3.984 kB / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3526, allocations: 0 / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3526, allocations: 0 / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.353, allocations: 216.3 kB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3531, allocations: 116.7 kB / 1.037 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3532, allocations: 4 kB / 1.037 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.3533, allocations: 8.062 kB / 1.037 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3534, allocations: 15.97 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3534, allocations: 4.094 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003741/0.3538, allocations: 358.8 kB / 1.037 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3538, allocations: 0 / 1.037 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002896/0.3541, allocations: 51.91 kB / 1.037 GB, free: 6.898 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.001018/0.3551, allocations: 421.3 kB / 1.038 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.3554, allocations: 109.7 kB / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3554, allocations: 7.938 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.3555, allocations: 35.98 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3559, allocations: 67.2 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3571, allocations: 0.6838 MB / 1.039 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3575, allocations: 0.8267 MB / 1.039 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.3577, allocations: 29.95 kB / 1.039 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.3577, allocations: 27.42 kB / 1.039 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3577, allocations: 0 / 1.039 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of Templates: time 0.007634/0.3654, allocations: 3.068 MB / 1.042 GB, free: 1.781 MB / 0.8106 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 -s gbode -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/jenkins1/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