Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 188.2 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.064/3.064, allocations: 495.8 MB / 0.783 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 1.137 GB, free: 12.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491/1.493, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003941/1.497, allocations: 2.286 MB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00219/1.499, allocations: 1.467 MB / 1.31 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/1.499, allocations: 2.875 kB / 1.31 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/1.5, allocations: 186.3 kB / 1.311 GB, free: 31.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/1.5, allocations: 141.2 kB / 1.311 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/1.501, allocations: 158.5 kB / 1.311 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/1.501, allocations: 278.3 kB / 1.311 GB, free: 30.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/1.501, allocations: 39.2 kB / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/1.501, allocations: 115.2 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/1.501, allocations: 119.8 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/1.501, allocations: 12.75 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/1.502, allocations: 54.55 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/1.502, allocations: 94.47 kB / 1.312 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/1.502, allocations: 158.5 kB / 1.312 GB, free: 30.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/1.502, allocations: 393.8 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.502, allocations: 0 / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/1.502, allocations: 0 / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.502, allocations: 2.812 kB / 1.312 GB, free: 30.29 MB / 1.061 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.001039/1.503, allocations: 0.6432 MB / 1.313 GB, free: 29.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.503, allocations: 11.06 kB / 1.313 GB, free: 29.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/1.503, allocations: 48.98 kB / 1.313 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/1.504, allocations: 355.4 kB / 1.313 GB, free: 29.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.504, allocations: 14.22 kB / 1.313 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/1.504, allocations: 13.75 kB / 1.313 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/1.504, allocations: 96.53 kB / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.504, allocations: 0 / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/1.504, allocations: 4 kB / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.504, allocations: 6.906 kB / 1.313 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/1.504, allocations: 48.16 kB / 1.313 GB, free: 29.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/1.505, allocations: 468.8 kB / 1.314 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/1.506, allocations: 102.9 kB / 1.314 GB, free: 29.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/1.506, allocations: 34.77 kB / 1.314 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/1.506, allocations: 0 / 1.314 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/1.506, allocations: 92.78 kB / 1.314 GB, free: 28.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/1.506, allocations: 0 / 1.314 GB, free: 28.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003846/1.506, allocations: 183.9 kB / 1.314 GB, free: 28.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.506, allocations: 51.41 kB / 1.314 GB, free: 28.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/1.507, allocations: 0.4973 MB / 1.315 GB, free: 28.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/1.507, allocations: 29.7 kB / 1.315 GB, free: 28.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/1.507, allocations: 226.9 kB / 1.315 GB, free: 28.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/1.507, allocations: 28.89 kB / 1.315 GB, free: 28.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/1.507, allocations: 55.73 kB / 1.315 GB, free: 28.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.507, allocations: 356.6 kB / 1.315 GB, free: 27.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/1.507, allocations: 47.91 kB / 1.315 GB, free: 27.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/1.507, allocations: 84.92 kB / 1.315 GB, free: 27.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/1.507, allocations: 94.98 kB / 1.316 GB, free: 27.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.507, allocations: 2.469 kB / 1.316 GB, free: 27.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003095/1.508, allocations: 215.3 kB / 1.316 GB, free: 27.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.508, allocations: 6.031 kB / 1.316 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.508, allocations: 0 / 1.316 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.508, allocations: 384 / 1.316 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.508, allocations: 38 kB / 1.316 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.508, allocations: 4 kB / 1.316 GB, free: 27.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/1.508, allocations: 22.05 kB / 1.316 GB, free: 27.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.508, allocations: 16.09 kB / 1.316 GB, free: 27.69 MB / 1.061 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.0001597/1.508, allocations: 192.5 kB / 1.316 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/1.508, allocations: 50.47 kB / 1.316 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/1.509, allocations: 155.7 kB / 1.316 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.509, allocations: 0 / 1.316 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.509, allocations: 4 kB / 1.316 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.509, allocations: 0 / 1.316 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/1.509, allocations: 292.4 kB / 1.317 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.509, allocations: 0 / 1.317 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/1.509, allocations: 12.47 kB / 1.317 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.509, allocations: 0 / 1.317 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/1.509, allocations: 6.438 kB / 1.317 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.509, allocations: 4 kB / 1.317 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.509, allocations: 3.984 kB / 1.317 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/1.509, allocations: 227.2 kB / 1.317 GB, free: 27.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/1.509, allocations: 40.31 kB / 1.317 GB, free: 27.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/1.509, allocations: 10.38 kB / 1.317 GB, free: 27.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/1.51, allocations: 2.906 kB / 1.317 GB, free: 27.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/1.51, allocations: 16.59 kB / 1.317 GB, free: 27.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/1.51, allocations: 2.938 kB / 1.317 GB, free: 27.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000308/1.51, allocations: 353 kB / 1.317 GB, free: 26.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.51, allocations: 0 / 1.317 GB, free: 26.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002641/1.51, allocations: 55.36 kB / 1.317 GB, free: 26.85 MB / 1.061 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) * 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.001536/1.512, allocations: 419 kB / 1.318 GB, free: 26.65 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000295/1.512, allocations: 105.7 kB / 1.318 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.512, allocations: 0 / 1.318 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/1.512, allocations: 43.91 kB / 1.318 GB, free: 26.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/1.512, allocations: 68.97 kB / 1.318 GB, free: 26.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.514, allocations: 0.6956 MB / 1.319 GB, free: 26.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.514, allocations: 0.8245 MB / 1.319 GB, free: 25.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001036/1.514, allocations: 37.75 kB / 1.319 GB, free: 25.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/1.514, allocations: 24 kB / 1.319 GB, free: 25.45 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.514, allocations: 2.625 kB / 1.319 GB, free: 25.45 MB / 1.061 GB Notification: Performance of Templates: time 0.007919/1.522, allocations: 3.144 MB / 1.322 GB, free: 25.14 MB / 1.061 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.871658081188798]