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.001501/0.001508, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001519/0.001519, allocations: 187 kB / 17.34 MB, free: 5.742 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.409/1.409, allocations: 222.9 MB / 241 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.724/2.724, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8813, allocations: 157.4 MB / 1.208 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004312/0.8857, allocations: 2.267 MB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.8883, allocations: 1.428 MB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.8886, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.8893, allocations: 191.3 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.8898, allocations: 135.3 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.8904, allocations: 171 kB / 1.213 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.8909, allocations: 271 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.8911, allocations: 64.47 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.8914, allocations: 107.5 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.8916, allocations: 111.4 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.8916, allocations: 16 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.8918, allocations: 55.92 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.8919, allocations: 95.61 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.8921, allocations: 158.8 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.8927, allocations: 392.5 kB / 1.214 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8927, allocations: 0 / 1.214 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8927, allocations: 0 / 1.214 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.8927, allocations: 0 / 1.214 GB, free: 8.305 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.001235/0.8939, allocations: 0.7074 MB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.894, allocations: 12.03 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.8941, allocations: 48.28 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.8947, allocations: 412.1 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.8948, allocations: 4.375 kB / 1.215 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.8948, allocations: 19.88 kB / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.8951, allocations: 89.64 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8951, allocations: 0 / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.8951, allocations: 4 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.8951, allocations: 7.984 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.8952, allocations: 47.97 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.8961, allocations: 0.4886 MB / 1.216 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.8965, allocations: 110.7 kB / 1.216 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.8966, allocations: 28.84 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.8966, allocations: 12 kB / 1.216 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.8968, allocations: 83.31 kB / 1.216 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.8968, allocations: 4 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004121/0.8973, allocations: 177 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.8973, allocations: 51.41 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.8978, allocations: 0.4988 MB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.8979, allocations: 33.7 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.8981, allocations: 232.4 kB / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.8981, allocations: 23.7 kB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.8982, allocations: 49.61 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8983, allocations: 366.7 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.8985, allocations: 47.92 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.8986, allocations: 78.48 kB / 1.217 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.8988, allocations: 103.3 kB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8988, allocations: 0 / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003615/0.8992, allocations: 215.3 kB / 1.218 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8992, allocations: 4 kB / 1.218 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8992, allocations: 0 / 1.218 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8992, allocations: 4 kB / 1.218 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.8994, allocations: 31.98 kB / 1.218 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8994, allocations: 0 / 1.218 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.8996, allocations: 23.95 kB / 1.218 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.8996, allocations: 8 kB / 1.218 GB, free: 4.086 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.000185/0.8998, allocations: 187.9 kB / 1.218 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.8999, allocations: 47.44 kB / 1.218 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.9, allocations: 43.91 kB / 1.218 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9, allocations: 4 kB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9, allocations: 0 / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9, allocations: 0 / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.9003, allocations: 329.3 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.9003, allocations: 4 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.9004, allocations: 8 kB / 1.218 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9004, allocations: 0 / 1.218 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.9004, allocations: 3.984 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9004, allocations: 3.938 kB / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.9004, allocations: 0 / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.9008, allocations: 216.4 kB / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.9009, allocations: 124.6 kB / 1.219 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.901, allocations: 4 kB / 1.219 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.9011, allocations: 4 kB / 1.219 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.9011, allocations: 15.97 kB / 1.219 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.9012, allocations: 4 kB / 1.219 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003715/0.9015, allocations: 354.8 kB / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9015, allocations: 96 / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003125/0.9019, allocations: 43.94 kB / 1.219 GB, free: 2.621 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.001073/0.9029, allocations: 429.4 kB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.9032, allocations: 99.91 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9033, allocations: 0 / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.9034, allocations: 47.86 kB / 1.219 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.9038, allocations: 67.08 kB / 1.22 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.9051, allocations: 0.7402 MB / 1.22 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.9055, allocations: 0.8221 MB / 1.221 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.9056, allocations: 27.44 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9056, allocations: 0 / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of Templates: time 0.007943/0.9135, allocations: 4.63 MB / 1.226 GB, free: 11.89 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/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