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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008651/0.008651, allocations: 98.34 kB / 15.73 MB, free: 6.008 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.001885/0.001885, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.09 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3708, allocations: 159.9 MB / 1.226 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003961/0.3748, allocations: 2.265 MB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3772, allocations: 1.447 MB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3774, allocations: 7.938 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.3781, allocations: 179.4 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.3785, allocations: 135.3 kB / 1.23 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.3791, allocations: 174.5 kB / 1.23 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.3794, allocations: 267 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3796, allocations: 52.67 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3798, allocations: 107.5 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3799, allocations: 111.4 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.38, allocations: 16 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.3802, allocations: 55.97 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3803, allocations: 95.66 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3804, allocations: 146.9 kB / 1.231 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3809, allocations: 402 kB / 1.231 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3809, allocations: 0 / 1.231 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3809, allocations: 0 / 1.231 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.3809, allocations: 3.938 kB / 1.231 GB, free: 3.695 MB / 0.9825 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.001054/0.382, allocations: 0.7228 MB / 1.232 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.382, allocations: 8.031 kB / 1.232 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.3821, allocations: 52.61 kB / 1.232 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.3827, allocations: 412.6 kB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3827, allocations: 8.375 kB / 1.232 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.3827, allocations: 15.94 kB / 1.232 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3829, allocations: 91.77 kB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.383, allocations: 3.938 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.383, allocations: 3.984 kB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.383, allocations: 4 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3831, allocations: 43.98 kB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.3839, allocations: 0.4965 MB / 1.233 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.3843, allocations: 102.7 kB / 1.233 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.3844, allocations: 36.84 kB / 1.233 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3844, allocations: 4 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.3846, allocations: 95.3 kB / 1.233 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3846, allocations: 0 / 1.233 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004091/0.385, allocations: 185.1 kB / 1.233 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3851, allocations: 51.41 kB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.3856, allocations: 0.4989 MB / 1.234 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3856, allocations: 25.7 kB / 1.234 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3858, allocations: 232.1 kB / 1.234 GB, free: 432 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3858, allocations: 23.86 kB / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.3859, allocations: 53.64 kB / 1.234 GB, free: 348 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3861, allocations: 358.8 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3862, allocations: 47.97 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3863, allocations: 80.42 kB / 1.234 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3865, allocations: 97.08 kB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3865, allocations: 4.031 kB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003165/0.3869, allocations: 209.3 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3869, allocations: 4 kB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3869, allocations: 0 / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3869, allocations: 4 kB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3871, allocations: 39.91 kB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3871, allocations: 0 / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3872, allocations: 23.88 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.3873, allocations: 12 kB / 1.235 GB, free: 15.45 MB / 0.9981 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.0001815/0.3875, allocations: 190.2 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.3875, allocations: 47.67 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.3876, allocations: 51.89 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3876, allocations: 4 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3876, allocations: 0 / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3876, allocations: 0 / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3879, allocations: 321.4 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3879, allocations: 0 / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.388, allocations: 4 kB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.388, allocations: 8 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.388, allocations: 4 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.388, allocations: 3.938 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.388, allocations: 3.984 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.3884, allocations: 221 kB / 1.236 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.3885, allocations: 116.8 kB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.3885, allocations: 11.98 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.3886, allocations: 8.062 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3887, allocations: 15.98 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3887, allocations: 7.922 kB / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003454/0.3891, allocations: 354.8 kB / 1.236 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3891, allocations: 0 / 1.236 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002597/0.3893, allocations: 51.89 kB / 1.236 GB, free: 13.96 MB / 0.9981 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.0009883/0.3903, allocations: 408.8 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3906, allocations: 111.9 kB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3906, allocations: 0 / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.3907, allocations: 43.92 kB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3912, allocations: 76.8 kB / 1.237 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3925, allocations: 0.6946 MB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.393, allocations: 0.831 MB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.3931, allocations: 33.94 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.3932, allocations: 31.42 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3932, allocations: 0 / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.007372/0.4005, allocations: 3.08 MB / 1.241 GB, free: 8.793 MB / 0.9981 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