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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001423/0.001423, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7673, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002673/0.77, allocations: 1.883 MB / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.7721, allocations: 1.301 MB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.7724, allocations: 9.188 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.7731, allocations: 170.5 kB / 0.9569 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.7735, allocations: 108.7 kB / 0.957 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.774, allocations: 131.2 kB / 0.9571 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.7744, allocations: 174.6 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.7746, allocations: 49.89 kB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.7749, allocations: 99.12 kB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.775, allocations: 92.86 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.7751, allocations: 4.375 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.7753, allocations: 34.77 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.7754, allocations: 93.42 kB / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.7755, allocations: 82.95 kB / 0.9577 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.7758, allocations: 288.2 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7758, allocations: 0 / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7758, allocations: 0 / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.7758, allocations: 0 / 0.958 GB, free: 4.824 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.001056/0.7769, allocations: 0.6511 MB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7769, allocations: 9.281 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.777, allocations: 49.08 kB / 0.9587 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.7771, allocations: 48.14 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.7777, allocations: 388 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.7777, allocations: 7.656 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.7778, allocations: 6.406 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.778, allocations: 90.39 kB / 0.9592 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.778, allocations: 0 / 0.9592 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.778, allocations: 9.062 kB / 0.9592 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.7781, allocations: 5.141 kB / 0.9592 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7782, allocations: 51.44 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.7791, allocations: 0.4975 MB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.7795, allocations: 112.5 kB / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.7795, allocations: 1.375 kB / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.7797, allocations: 89.36 kB / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.245e-06/0.7797, allocations: 0 / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004578/0.7802, allocations: 176.6 kB / 0.9601 GB, free: 3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.7802, allocations: 52.78 kB / 0.9602 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.7809, allocations: 0.4979 MB / 0.9606 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.781, allocations: 26.7 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.7812, allocations: 225.4 kB / 0.9609 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.7812, allocations: 27.97 kB / 0.9609 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.7813, allocations: 1 kB / 0.9609 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7814, allocations: 364.9 kB / 0.9613 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.7815, allocations: 52 kB / 0.9613 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.7817, allocations: 77.95 kB / 0.9614 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.7818, allocations: 52.12 kB / 0.9614 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7818, allocations: 0 / 0.9614 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004412/0.7823, allocations: 216.5 kB / 0.9616 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.7823, allocations: 6.781 kB / 0.9616 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7823, allocations: 0.9688 kB / 0.9616 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.7824, allocations: 1 kB / 0.9616 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.7825, allocations: 37.28 kB / 0.9617 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7826, allocations: 5.219 kB / 0.9617 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.7828, allocations: 21.73 kB / 0.9617 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.7828, allocations: 6.281 kB / 0.9617 GB, free: 1.781 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.783, allocations: 193.7 kB / 0.9619 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.7831, allocations: 43.22 kB / 0.9619 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.7832, allocations: 51.91 kB / 0.962 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7832, allocations: 1.156 kB / 0.962 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7832, allocations: 0 / 0.962 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7832, allocations: 1.094 kB / 0.962 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.7835, allocations: 315.5 kB / 0.9623 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7836, allocations: 3.953 kB / 0.9623 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.7836, allocations: 7.312 kB / 0.9623 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.7836, allocations: 5 kB / 0.9623 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.7837, allocations: 6 kB / 0.9623 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7837, allocations: 0 / 0.9623 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7837, allocations: 1.25 kB / 0.9623 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.7841, allocations: 216 kB / 0.9625 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.7842, allocations: 118.7 kB / 0.9626 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.7843, allocations: 5.344 kB / 0.9626 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.7844, allocations: 13.81 kB / 0.9626 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.7845, allocations: 17.66 kB / 0.9627 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.7845, allocations: 3.031 kB / 0.9627 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004212/0.7849, allocations: 348.1 kB / 0.963 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7849, allocations: 1.375 kB / 0.963 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003019/0.7852, allocations: 52.39 kB / 0.9631 GB, free: 0.7383 MB / 0.7169 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 (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.001499/0.7867, allocations: 1.079 MB / 0.9641 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.787, allocations: 101.3 kB / 0.9642 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.787, allocations: 0 / 0.9642 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.7871, allocations: 42.77 kB / 0.9642 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.7876, allocations: 55.67 kB / 0.9643 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.7895, allocations: 1.215 MB / 0.9655 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.79, allocations: 0.834 MB / 0.9663 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.7902, allocations: 41.39 kB / 0.9663 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.7903, allocations: 126.7 kB / 0.9665 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of SimCode: time 3.868e-06/0.7904, allocations: 0 / 0.9665 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.8166, allocations: 7.296 MB / 0.9736 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.8168, allocations: 235.5 kB / 0.9738 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.663, allocations: 0 / 0.9738 GB, free: 10.28 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat does not exist to compare? outputFormat=mat