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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.00277, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.00246, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9793/0.9793, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1072/1.087, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.809/1.809, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.497/2.306, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.272e-06/1.272e-06, allocations: 0 / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.96e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002798/0.002818, allocations: 2.368 MB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004557, allocations: 1.581 MB / 0.7335 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.00467, allocations: 3.938 kB / 0.7335 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.005064, allocations: 187.9 kB / 0.7337 GB, free: 324 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.005374, allocations: 192 kB / 0.7339 GB, free: 136 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.005629, allocations: 139.5 kB / 0.734 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.005902, allocations: 287.5 kB / 0.7343 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.006012, allocations: 34.88 kB / 0.7343 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.006588, allocations: 284.2 kB / 0.7346 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.006693, allocations: 67.73 kB / 0.7347 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.006717, allocations: 16.62 kB / 0.7347 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.006836, allocations: 52.52 kB / 0.7347 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.00691, allocations: 87.64 kB / 0.7348 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.006964, allocations: 56.69 kB / 0.7349 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.007253, allocations: 254.8 kB / 0.7351 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.007264, allocations: 0.5938 kB / 0.7351 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.12e-07/0.007264, allocations: 0 / 0.7351 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.007275, allocations: 0.7812 kB / 0.7351 GB, free: 14.9 MB / 0.7136 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.000683/0.007958, allocations: 0.6853 MB / 0.7358 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.007988, allocations: 9.25 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.008039, allocations: 36.89 kB / 0.7358 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.008307, allocations: 309.9 kB / 0.7361 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.008325, allocations: 13.19 kB / 0.7361 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.008345, allocations: 4.375 kB / 0.7361 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.00847, allocations: 112.7 kB / 0.7362 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.008476, allocations: 3.938 kB / 0.7362 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.008484, allocations: 0 / 0.7362 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.008494, allocations: 4.812 kB / 0.7362 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.008543, allocations: 31.91 kB / 0.7363 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.008874, allocations: 250.9 kB / 0.7365 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.008979, allocations: 106.4 kB / 0.7366 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.009001, allocations: 16.86 kB / 0.7366 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.009016, allocations: 5.25 kB / 0.7366 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.009118, allocations: 99.8 kB / 0.7367 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.009119, allocations: 0 / 0.7367 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001448/0.009264, allocations: 98.55 kB / 0.7368 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.009287, allocations: 55.41 kB / 0.7369 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.009513, allocations: 411.2 kB / 0.7373 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.009531, allocations: 34.23 kB / 0.7373 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.009597, allocations: 154.9 kB / 0.7375 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.009622, allocations: 35.72 kB / 0.7375 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.009671, allocations: 41.69 kB / 0.7375 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.00976, allocations: 370.6 kB / 0.7379 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.009788, allocations: 20.03 kB / 0.7379 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.009834, allocations: 69.19 kB / 0.738 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.144e-05/0.009905, allocations: 77.88 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009907, allocations: 4 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001116/0.01002, allocations: 111.1 kB / 0.7381 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01003, allocations: 8.031 kB / 0.7382 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01004, allocations: 4 kB / 0.7382 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.01005, allocations: 0.8125 kB / 0.7382 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.01019, allocations: 43.91 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.0102, allocations: 9.312 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.01025, allocations: 11.94 kB / 0.7382 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01027, allocations: 8 kB / 0.7382 GB, free: 11.52 MB / 0.7136 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 7.747e-05/0.01034, allocations: 130.6 kB / 0.7384 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01037, allocations: 27.95 kB / 0.7384 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.01049, allocations: 101.8 kB / 0.7385 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01049, allocations: 0 / 0.7385 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01049, allocations: 10.31 kB / 0.7385 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01049, allocations: 4 kB / 0.7385 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.01061, allocations: 157.7 kB / 0.7386 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01062, allocations: 0 / 0.7386 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.01066, allocations: 19.92 kB / 0.7387 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.0107, allocations: 39.67 kB / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0107, allocations: 0 / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.01071, allocations: 6.281 kB / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01071, allocations: 0 / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01071, allocations: 0 / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.01085, allocations: 138.6 kB / 0.7388 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.01087, allocations: 4 kB / 0.7388 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.01091, allocations: 9.016 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.01094, allocations: 11.98 kB / 0.7389 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01095, allocations: 7.984 kB / 0.7389 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000134/0.01108, allocations: 181.3 kB / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01108, allocations: 0 / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001523/0.01124, allocations: 47.88 kB / 0.7391 GB, free: 10.59 MB / 0.7136 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 (10): * Single equations (assignments): 8 * 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.001325/0.01256, allocations: 0.5588 MB / 0.7396 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01268, allocations: 75.98 kB / 0.7397 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.01269, allocations: 8 kB / 0.7397 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.01273, allocations: 33.44 kB / 0.7397 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.01304, allocations: 410.2 kB / 0.7401 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.01438, allocations: 0.6303 MB / 0.7408 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.01445, allocations: 120.2 kB / 0.7409 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.124e-05/0.01452, allocations: 30.5 kB / 0.7409 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01462, allocations: 99.34 kB / 0.741 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.01462, allocations: 0 / 0.741 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of Templates: time 0.005856/0.02048, allocations: 3.447 MB / 0.7444 GB, free: 5.555 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.954123543575406]