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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 87.97 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.292e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.946/1.223, allocations: 156.2 MB / 1.371 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.223, allocations: 88.89 kB / 1.371 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03131/1.254, allocations: 11.74 MB / 1.383 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.775e-06/1.254, allocations: 0 / 1.383 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.573e-05/1.254, allocations: 7.984 kB / 1.383 GB, free: 3.789 MB / 0.8386 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.001257/1.256, allocations: 0.5883 MB / 1.383 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/1.256, allocations: 8.031 kB / 1.383 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/1.256, allocations: 47.34 kB / 1.383 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/1.257, allocations: 374.2 kB / 1.384 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/1.257, allocations: 3.375 kB / 1.384 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.257, allocations: 11.38 kB / 1.384 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/1.257, allocations: 91.53 kB / 1.384 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.257, allocations: 7.938 kB / 1.384 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/1.257, allocations: 0 / 1.384 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.257, allocations: 0 / 1.384 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/1.257, allocations: 57.3 kB / 1.384 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/1.258, allocations: 0.5207 MB / 1.384 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/1.259, allocations: 85.12 kB / 1.385 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/1.259, allocations: 30.92 kB / 1.385 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/1.259, allocations: 0 / 1.385 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/1.259, allocations: 93.12 kB / 1.385 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.259, allocations: 0 / 1.385 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000305/1.259, allocations: 139.7 kB / 1.385 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.259, allocations: 55.41 kB / 1.385 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/1.26, allocations: 493.7 kB / 1.385 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/1.26, allocations: 29.7 kB / 1.385 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/1.26, allocations: 220.3 kB / 1.386 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.26, allocations: 27.53 kB / 1.386 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/1.26, allocations: 7.312 kB / 1.386 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.26, allocations: 360.4 kB / 1.386 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/1.26, allocations: 59.8 kB / 1.386 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.26, allocations: 91.69 kB / 1.386 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.261, allocations: 70.11 kB / 1.386 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.261, allocations: 3.953 kB / 1.386 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003562/1.261, allocations: 234.6 kB / 1.386 GB, free: 496 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.261, allocations: 7.953 kB / 1.386 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.261, allocations: 0 / 1.386 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.261, allocations: 0 / 1.386 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.261, allocations: 43.42 kB / 1.386 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.261, allocations: 4 kB / 1.386 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.261, allocations: 19.05 kB / 1.386 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/1.261, allocations: 8 kB / 1.386 GB, free: 420 kB / 0.8386 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.262, allocations: 111.8 kB / 1.387 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/1.262, allocations: 43.53 kB / 1.387 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/1.262, allocations: 160.7 kB / 1.387 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.262, allocations: 4 kB / 1.387 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.262, allocations: 0 / 1.387 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.262, allocations: 7.984 kB / 1.387 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.262, allocations: 329.1 kB / 1.387 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.262, allocations: 0 / 1.387 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/1.262, allocations: 12 kB / 1.387 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1.262, allocations: 0 / 1.387 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/1.262, allocations: 7.125 kB / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.262, allocations: 7.938 kB / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.262, allocations: 0 / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/1.263, allocations: 213.7 kB / 1.387 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/1.263, allocations: 124.2 kB / 1.387 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/1.263, allocations: 7.25 kB / 1.387 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.263, allocations: 7.984 kB / 1.387 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/1.263, allocations: 19.75 kB / 1.387 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/1.263, allocations: 3.984 kB / 1.387 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004009/1.264, allocations: 365.5 kB / 1.388 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.4e-07/1.264, allocations: 4.062 kB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003042/1.264, allocations: 67.3 kB / 1.388 GB, free: 15.06 MB / 0.8542 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009937/1.265, allocations: 409.2 kB / 1.388 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002338/1.265, allocations: 116.7 kB / 1.388 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.265, allocations: 0 / 1.388 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/1.265, allocations: 41.19 kB / 1.388 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/1.266, allocations: 62.45 kB / 1.389 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/1.267, allocations: 497 kB / 1.389 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/1.267, allocations: 0.8357 MB / 1.39 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001255/1.267, allocations: 34 kB / 1.39 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/1.267, allocations: 23.42 kB / 1.39 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/1.267, allocations: 0 / 1.39 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.00835/1.276, allocations: 3.471 MB / 1.393 GB, free: 9.836 MB / 0.8542 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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches