Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001557/0.001557, allocations: 110.7 kB / 15.99 MB, free: 6.359 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.001541/0.001541, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.564/2.564, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 66.77 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3105, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003922/0.3144, allocations: 2.31 MB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3166, allocations: 1.413 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3168, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.3174, allocations: 191.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3177, allocations: 123.5 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.3181, allocations: 134.7 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.3184, allocations: 271.1 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3186, allocations: 60.92 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.3187, allocations: 111.4 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3189, allocations: 115.4 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.3189, allocations: 16 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3191, allocations: 59.97 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3192, allocations: 95.61 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3193, allocations: 150.8 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.3197, allocations: 303.4 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3197, allocations: 0 / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3197, allocations: 4 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3198, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 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.001065/0.3208, allocations: 0.6957 MB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3209, allocations: 12.56 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.321, allocations: 52.36 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.3215, allocations: 408 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3215, allocations: 4.375 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3216, allocations: 15.94 kB / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3218, allocations: 97.58 kB / 1.071 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3218, allocations: 0 / 1.071 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3219, allocations: 7.938 kB / 1.071 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3219, allocations: 0 / 1.071 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.322, allocations: 51.97 kB / 1.071 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.3228, allocations: 488.5 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.3231, allocations: 106.7 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.3232, allocations: 36.78 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3233, allocations: 8 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.3235, allocations: 87.31 kB / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3235, allocations: 0 / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0003975/0.3239, allocations: 181 kB / 1.072 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3239, allocations: 51.41 kB / 1.072 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.3245, allocations: 0.499 MB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3246, allocations: 33.7 kB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3248, allocations: 227.9 kB / 1.072 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3248, allocations: 31.64 kB / 1.072 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.3249, allocations: 45.7 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3251, allocations: 362.8 kB / 1.073 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3252, allocations: 47.92 kB / 1.073 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3253, allocations: 74.55 kB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3255, allocations: 107.5 kB / 1.073 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3255, allocations: 0 / 1.073 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003626/0.3259, allocations: 214.8 kB / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3259, allocations: 4 kB / 1.073 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3259, allocations: 4 kB / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.326, allocations: 4 kB / 1.073 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3261, allocations: 35.92 kB / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3262, allocations: 4.031 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3263, allocations: 15.98 kB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.3263, allocations: 8 kB / 1.073 GB, free: 5.551 MB / 0.8419 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.0002038/0.3265, allocations: 191.3 kB / 1.073 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.3266, allocations: 43.44 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.3267, allocations: 47.91 kB / 1.073 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3267, allocations: 4 kB / 1.073 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3267, allocations: 384 / 1.073 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3267, allocations: 4 kB / 1.073 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.327, allocations: 329.4 kB / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.327, allocations: 0 / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.3271, allocations: 7.938 kB / 1.074 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3271, allocations: 4 kB / 1.074 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3271, allocations: 3.984 kB / 1.074 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3271, allocations: 0 / 1.074 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3271, allocations: 0 / 1.074 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.3275, allocations: 224.3 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.355e-05/0.3276, allocations: 116.6 kB / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3277, allocations: 0 / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3278, allocations: 8 kB / 1.074 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.3278, allocations: 15.97 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3278, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003913/0.3282, allocations: 362.8 kB / 1.075 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3282, allocations: 0 / 1.075 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002565/0.3285, allocations: 44 kB / 1.075 GB, free: 4.082 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.001472/0.33, allocations: 431 kB / 1.075 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.3303, allocations: 107.9 kB / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3303, allocations: 0 / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.3304, allocations: 35.92 kB / 1.075 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3308, allocations: 75.31 kB / 1.075 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3321, allocations: 0.8338 MB / 1.076 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.3326, allocations: 0.8299 MB / 1.077 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3326, allocations: 27.44 kB / 1.077 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3327, allocations: 0 / 1.077 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.4341/0.7667, allocations: 4.582 MB / 1.081 GB, free: 21.72 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches