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.001579/0.001579, allocations: 102.5 kB / 16.4 MB, free: 6.461 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.001719/0.001719, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8802, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003869/0.8842, allocations: 2.254 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.8865, allocations: 1.445 MB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.8867, allocations: 3.219 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.8874, allocations: 190.5 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.8879, allocations: 136.5 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.8884, allocations: 159.8 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.8888, allocations: 267.6 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.889, allocations: 54.22 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.8892, allocations: 119.5 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.8894, allocations: 106.5 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.8895, allocations: 17.81 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.8897, allocations: 63.23 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.8898, allocations: 92.42 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.8899, allocations: 151.1 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.8905, allocations: 389.9 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8905, allocations: 0.6562 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8905, allocations: 0 / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8905, allocations: 0.875 kB / 1.094 GB, free: 2.125 MB / 0.8575 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.001086/0.8916, allocations: 0.7041 MB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.8917, allocations: 9.438 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.8918, allocations: 50.36 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.8923, allocations: 419 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.8924, allocations: 7.938 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.8924, allocations: 18.7 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.8927, allocations: 91.31 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.8927, allocations: 1.281 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.8927, allocations: 4.625 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.8927, allocations: 2.438 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.8929, allocations: 57.84 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.8937, allocations: 497.5 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.8941, allocations: 111.1 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.8942, allocations: 35.81 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.8942, allocations: 2.297 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.8944, allocations: 85.98 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.8944, allocations: 4.688 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004363/0.8949, allocations: 179.2 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.8949, allocations: 56.44 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.8956, allocations: 0.4928 MB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.8956, allocations: 32.06 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.8958, allocations: 231.8 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.8959, allocations: 27.44 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.896, allocations: 45.09 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.8962, allocations: 359.2 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.8963, allocations: 55.05 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.8965, allocations: 74.88 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.8967, allocations: 98.84 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8967, allocations: 0 / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004183/0.8972, allocations: 210.9 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.8972, allocations: 6.031 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8972, allocations: 4.656 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.8972, allocations: 1.891 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.8974, allocations: 42.45 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.8975, allocations: 1.656 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.8976, allocations: 18.02 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.8976, allocations: 11.7 kB / 1.098 GB, free: 15.34 MB / 0.8731 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.0002291/0.8979, allocations: 189.8 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.8979, allocations: 47.28 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8981, allocations: 50.73 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8981, allocations: 1.062 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8981, allocations: 1.125 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8981, allocations: 0.7969 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.8985, allocations: 318.4 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8985, allocations: 1.062 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.8986, allocations: 12.53 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8986, allocations: 1.094 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.8986, allocations: 2.5 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8986, allocations: 1.156 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8986, allocations: 4 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.899, allocations: 219.1 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.8991, allocations: 120 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.8992, allocations: 2.812 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.8993, allocations: 6.094 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.8994, allocations: 13.88 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.8994, allocations: 3.797 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004578/0.8999, allocations: 357.4 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8999, allocations: 0 / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002947/0.9002, allocations: 50.38 kB / 1.099 GB, free: 14.46 MB / 0.8731 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.001057/0.9012, allocations: 426 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.9015, allocations: 109.4 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9016, allocations: 0 / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.9017, allocations: 42.95 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.9022, allocations: 71.89 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.9035, allocations: 0.726 MB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.904, allocations: 0.8197 MB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.9041, allocations: 29.89 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.9041, allocations: 0 / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.01038/0.9145, allocations: 4.621 MB / 1.106 GB, free: 12.23 MB / 0.8731 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/jenkins1/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