Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001189/0.001189, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009669/0.009669, allocations: 170 kB / 16.27 MB, free: 6.66 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 23.98 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7842, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002861/0.7871, allocations: 1.954 MB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.7893, allocations: 1.384 MB / 0.9583 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.7895, allocations: 6.25 kB / 0.9583 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.79, allocations: 177.9 kB / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.7904, allocations: 124.3 kB / 0.9586 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.7907, allocations: 147 kB / 0.9587 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.791, allocations: 254.1 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.7912, allocations: 58.58 kB / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.7914, allocations: 87.17 kB / 0.9591 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.7915, allocations: 106.8 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.7915, allocations: 5.5 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.7917, allocations: 42.09 kB / 0.9593 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.7918, allocations: 88.73 kB / 0.9594 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.7919, allocations: 166.8 kB / 0.9595 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.7922, allocations: 372.3 kB / 0.9599 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7923, allocations: 4 kB / 0.9599 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7923, allocations: 0 / 0.9599 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7923, allocations: 0 / 0.9599 GB, free: 4.004 MB / 0.7169 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.0008842/0.7932, allocations: 0.6433 MB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7932, allocations: 9.625 kB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.7933, allocations: 48.98 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.7937, allocations: 417.4 kB / 0.961 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.7938, allocations: 7.312 kB / 0.961 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.7938, allocations: 14.19 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.794, allocations: 90.48 kB / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.794, allocations: 0 / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.7941, allocations: 4.906 kB / 0.9611 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.7941, allocations: 2.125 kB / 0.9611 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.7942, allocations: 56.08 kB / 0.9611 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.7949, allocations: 0.4913 MB / 0.9616 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.7953, allocations: 111.7 kB / 0.9617 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.7954, allocations: 37.16 kB / 0.9617 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.7954, allocations: 0.9688 kB / 0.9617 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.7956, allocations: 90.22 kB / 0.9618 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.7956, allocations: 3.984 kB / 0.9618 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003719/0.796, allocations: 182.8 kB / 0.962 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.796, allocations: 52.44 kB / 0.9621 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.7965, allocations: 0.4974 MB / 0.9625 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.7965, allocations: 27.39 kB / 0.9626 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.7967, allocations: 229.3 kB / 0.9628 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.7967, allocations: 31.72 kB / 0.9628 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.7968, allocations: 21.62 kB / 0.9628 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.7968, allocations: 359.8 kB / 0.9632 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.797, allocations: 56.62 kB / 0.9632 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.7971, allocations: 75.42 kB / 0.9633 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.7973, allocations: 102.6 kB / 0.9634 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7973, allocations: 3.938 kB / 0.9634 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003119/0.7976, allocations: 200.2 kB / 0.9636 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7976, allocations: 10.47 kB / 0.9636 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7977, allocations: 0 / 0.9636 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7977, allocations: 5.406 kB / 0.9636 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.7978, allocations: 44.78 kB / 0.9637 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7979, allocations: 2.156 kB / 0.9637 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.798, allocations: 17.34 kB / 0.9637 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.798, allocations: 10.72 kB / 0.9637 GB, free: 0.9062 MB / 0.7169 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.0001577/0.7982, allocations: 192.7 kB / 0.9639 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.7982, allocations: 51.03 kB / 0.9639 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.7983, allocations: 48.25 kB / 0.964 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7983, allocations: 1.219 kB / 0.964 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7983, allocations: 0 / 0.964 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7983, allocations: 1.062 kB / 0.964 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.7986, allocations: 311.7 kB / 0.9643 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7986, allocations: 0 / 0.9643 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.7987, allocations: 16.36 kB / 0.9643 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7987, allocations: 0 / 0.9643 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.7987, allocations: 1.5 kB / 0.9643 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7987, allocations: 5.375 kB / 0.9643 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7987, allocations: 0 / 0.9643 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.799, allocations: 223.1 kB / 0.9645 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.7991, allocations: 117.8 kB / 0.9646 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.7992, allocations: 0 / 0.9646 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.7993, allocations: 11.02 kB / 0.9646 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.7993, allocations: 19.11 kB / 0.9646 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7993, allocations: 7.578 kB / 0.9646 GB, free: 88 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003885/0.7997, allocations: 350.2 kB / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7997, allocations: 0 / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002816/0.8, allocations: 53.47 kB / 0.965 GB, free: 15.86 MB / 0.7325 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.001029/0.8011, allocations: 417.1 kB / 0.9654 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.8014, allocations: 116 kB / 0.9655 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8014, allocations: 5.406 kB / 0.9655 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.8015, allocations: 38.36 kB / 0.9656 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.8019, allocations: 65.34 kB / 0.9656 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.8032, allocations: 0.8115 MB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.8037, allocations: 0.826 MB / 0.9672 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.8038, allocations: 38.17 kB / 0.9673 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.8039, allocations: 21.78 kB / 0.9673 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2.084e-06/0.8039, allocations: 0 / 0.9673 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.007812/0.8117, allocations: 2.88 MB / 0.9701 GB, free: 12.78 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches