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.001113/0.001113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.7 MB / 0.7452 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.66 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3846, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004145/0.3888, allocations: 2.244 MB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.3913, allocations: 1.451 MB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.3915, allocations: 7.938 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006233/0.3922, allocations: 183.6 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.3926, allocations: 135.3 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.393, allocations: 163.5 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.3933, allocations: 267.1 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3935, allocations: 52.94 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3937, allocations: 111.5 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3938, allocations: 111.4 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.3939, allocations: 16 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.394, allocations: 51.98 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3941, allocations: 95.66 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3943, allocations: 154.8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.3947, allocations: 378.6 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3947, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3947, allocations: 3.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3947, allocations: 3.984 kB / 1.073 GB, free: 4.945 MB / 0.8262 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.001024/0.3958, allocations: 0.7075 MB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3958, allocations: 8.031 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.3959, allocations: 56.27 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.3964, allocations: 404.1 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3964, allocations: 8.375 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.3965, allocations: 11.94 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3967, allocations: 99.12 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3967, allocations: 0 / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3967, allocations: 8 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3967, allocations: 4 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3969, allocations: 55.91 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.3977, allocations: 488.5 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.398, allocations: 106.7 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.3981, allocations: 36.84 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3981, allocations: 0 / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3983, allocations: 87.38 kB / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.166e-06/0.3983, allocations: 0 / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003818/0.3987, allocations: 180.9 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3988, allocations: 59.34 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.3993, allocations: 0.4989 MB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3993, allocations: 33.7 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3995, allocations: 228 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3995, allocations: 27.64 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.3996, allocations: 49.7 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3997, allocations: 358.8 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3998, allocations: 43.98 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4, allocations: 76.42 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4002, allocations: 108 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4002, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003498/0.4005, allocations: 212.8 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4006, allocations: 13.19 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4006, allocations: 0 / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4006, allocations: 0 / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4008, allocations: 35.92 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4008, allocations: 4 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.4009, allocations: 11.98 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.401, allocations: 16.02 kB / 1.077 GB, free: 0.7305 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 ($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.0002053/0.4012, allocations: 189.5 kB / 1.078 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.4012, allocations: 43.44 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.4013, allocations: 47.91 kB / 1.078 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4013, allocations: 3.938 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4013, allocations: 0 / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4013, allocations: 0 / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.4016, allocations: 333.3 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4016, allocations: 4 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.4017, allocations: 8 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4017, allocations: 0 / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4017, allocations: 7.984 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4017, allocations: 0 / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4018, allocations: 4 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.4021, allocations: 216.5 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.4022, allocations: 112.6 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.4023, allocations: 12.06 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.4024, allocations: 7.938 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.4024, allocations: 11.97 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.4025, allocations: 4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003385/0.4028, allocations: 354.8 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4028, allocations: 0 / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002649/0.4031, allocations: 44 kB / 1.079 GB, free: 15.26 MB / 0.8419 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.0009921/0.4041, allocations: 425 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.4044, allocations: 113.3 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4044, allocations: 0 / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.4045, allocations: 39.92 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.4049, allocations: 75.83 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.406, allocations: 0.6993 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4064, allocations: 0.822 MB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.4066, allocations: 37.92 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.4066, allocations: 27.42 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4066, allocations: 0 / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.007501/0.4142, allocations: 3.062 MB / 1.084 GB, free: 10.11 MB / 0.8419 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