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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00904/0.00904, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001539/0.001539, allocations: 189 kB / 16.67 MB, free: 5.961 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.89 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004342/1.088, allocations: 2.27 MB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002632/1.09, allocations: 1.432 MB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/1.091, allocations: 4 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009631/1.092, allocations: 187.3 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004322/1.092, allocations: 139.3 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/1.093, allocations: 155.6 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/1.093, allocations: 267 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/1.093, allocations: 64.33 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/1.093, allocations: 115.4 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/1.094, allocations: 111.5 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/1.094, allocations: 12 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/1.094, allocations: 55.97 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/1.094, allocations: 99.61 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/1.094, allocations: 150.8 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006464/1.095, allocations: 388.5 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.095, allocations: 3.938 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.635e-06/1.095, allocations: 0 / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.095, allocations: 4 kB / 1.213 GB, free: 8.168 MB / 0.9356 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.001516/1.096, allocations: 0.6997 MB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.096, allocations: 8.031 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/1.097, allocations: 48.28 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/1.097, allocations: 420 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.097, allocations: 8.375 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/1.097, allocations: 15.94 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/1.098, allocations: 89.64 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.098, allocations: 0 / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/1.098, allocations: 11.94 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.098, allocations: 3.938 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/1.098, allocations: 51.97 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/1.099, allocations: 0.4886 MB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/1.099, allocations: 110.7 kB / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/1.099, allocations: 32.84 kB / 1.215 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/1.099, allocations: 3.984 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/1.099, allocations: 91.38 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/1.099, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004056/1.1, allocations: 177 kB / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.1, allocations: 55.41 kB / 1.215 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/1.1, allocations: 0.4949 MB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.1, allocations: 33.7 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.101, allocations: 224.1 kB / 1.216 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/1.101, allocations: 31.69 kB / 1.216 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/1.101, allocations: 53.61 kB / 1.216 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003414/1.101, allocations: 358.8 kB / 1.216 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.101, allocations: 47.92 kB / 1.216 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.101, allocations: 74.55 kB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/1.101, allocations: 103.5 kB / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.101, allocations: 0 / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003465/1.102, allocations: 211.3 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.102, allocations: 11.98 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.102, allocations: 0 / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.102, allocations: 0 / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.102, allocations: 35.92 kB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.102, allocations: 4 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.102, allocations: 19.92 kB / 1.217 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/1.102, allocations: 8.031 kB / 1.217 GB, free: 3.949 MB / 0.9356 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.0001918/1.102, allocations: 186.1 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/1.103, allocations: 43.44 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/1.103, allocations: 47.91 kB / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.103, allocations: 0 / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.103, allocations: 3.938 kB / 1.217 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.103, allocations: 0 / 1.217 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/1.103, allocations: 325.3 kB / 1.217 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.103, allocations: 3.938 kB / 1.217 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/1.103, allocations: 15.94 kB / 1.218 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.103, allocations: 0 / 1.218 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/1.103, allocations: 11.98 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.103, allocations: 0 / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.103, allocations: 0 / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/1.103, allocations: 216.4 kB / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/1.104, allocations: 116.5 kB / 1.218 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/1.104, allocations: 4 kB / 1.218 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/1.104, allocations: 12.06 kB / 1.218 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/1.104, allocations: 7.984 kB / 1.218 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/1.104, allocations: 7.984 kB / 1.218 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003581/1.104, allocations: 354.8 kB / 1.218 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.104, allocations: 4 kB / 1.218 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002571/1.104, allocations: 40 kB / 1.218 GB, free: 2.48 MB / 0.9356 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.001003/1.105, allocations: 415.5 kB / 1.219 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002792/1.106, allocations: 115.8 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.106, allocations: 3.938 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/1.106, allocations: 39.98 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/1.106, allocations: 77.48 kB / 1.219 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.107, allocations: 0.6994 MB / 1.22 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/1.108, allocations: 0.8223 MB / 1.22 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.108, allocations: 37.94 kB / 1.22 GB, free: 396 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/1.108, allocations: 31.36 kB / 1.22 GB, free: 364 kB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.108, allocations: 0 / 1.22 GB, free: 364 kB / 0.9356 GB Notification: Performance of Templates: time 0.007695/1.116, allocations: 3.132 MB / 1.223 GB, free: 13.25 MB / 0.9512 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