Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_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.001656/0.001656, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001888/0.001888, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.625/2.625, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.986/4.986, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005617/0.000562, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437/1.438, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004992/1.443, allocations: 1.895 MB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004087/1.447, allocations: 1.301 MB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/1.447, allocations: 3.938 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/1.448, allocations: 175.3 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/1.449, allocations: 115.7 kB / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/1.45, allocations: 134.4 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005327/1.45, allocations: 175.6 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/1.451, allocations: 42.97 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/1.451, allocations: 99.61 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/1.451, allocations: 103.5 kB / 0.9848 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/1.451, allocations: 4 kB / 0.9848 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/1.452, allocations: 35.91 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/1.452, allocations: 91.66 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/1.452, allocations: 77.52 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/1.453, allocations: 287.3 kB / 0.9853 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.453, allocations: 3.938 kB / 0.9853 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.201e-05/1.453, allocations: 3.984 kB / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.453, allocations: 3.938 kB / 0.9853 GB, free: 1.723 MB / 0.7325 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.001951/1.455, allocations: 0.6454 MB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.18e-05/1.455, allocations: 8.031 kB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/1.455, allocations: 42.56 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/1.455, allocations: 47.34 kB / 0.986 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.456, allocations: 387.1 kB / 0.9864 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/1.456, allocations: 15.98 kB / 0.9864 GB, free: 500 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/1.456, allocations: 4 kB / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/1.457, allocations: 91.02 kB / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/1.457, allocations: 0 / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/1.457, allocations: 7.984 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/1.457, allocations: 4 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/1.457, allocations: 47.97 kB / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/1.459, allocations: 0.5004 MB / 0.987 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/1.459, allocations: 114.7 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/1.459, allocations: 4 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/1.46, allocations: 79.38 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.706e-06/1.46, allocations: 0 / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0008313/1.461, allocations: 173 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.461, allocations: 55.41 kB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.462, allocations: 0.4988 MB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/1.462, allocations: 29.7 kB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/1.463, allocations: 224 kB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/1.463, allocations: 31.69 kB / 0.9882 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/1.463, allocations: 0 / 0.9882 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003874/1.463, allocations: 370.6 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.463, allocations: 52.72 kB / 0.9886 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/1.464, allocations: 71.3 kB / 0.9887 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/1.464, allocations: 52.03 kB / 0.9887 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.464, allocations: 0 / 0.9887 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007495/1.465, allocations: 209.8 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/1.465, allocations: 7.984 kB / 0.9889 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.465, allocations: 4 kB / 0.9889 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/1.465, allocations: 0 / 0.9889 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/1.465, allocations: 31.98 kB / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/1.465, allocations: 4 kB / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/1.466, allocations: 23.95 kB / 0.989 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/1.466, allocations: 8 kB / 0.989 GB, free: 13.69 MB / 0.7481 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.0004577/1.466, allocations: 185.7 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/1.466, allocations: 47.44 kB / 0.9892 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/1.466, allocations: 47.91 kB / 0.9893 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.466, allocations: 4 kB / 0.9893 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.466, allocations: 0 / 0.9893 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/1.467, allocations: 4 kB / 0.9893 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/1.467, allocations: 325.5 kB / 0.9896 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.467, allocations: 0 / 0.9896 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.467, allocations: 8 kB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/1.467, allocations: 0 / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/1.467, allocations: 7.984 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.467, allocations: 0 / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.467, allocations: 0 / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/1.468, allocations: 220.4 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/1.468, allocations: 116.6 kB / 0.9899 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/1.468, allocations: 4 kB / 0.9899 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/1.469, allocations: 11.98 kB / 0.9899 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.469, allocations: 11.98 kB / 0.9899 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/1.469, allocations: 4 kB / 0.9899 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007654/1.47, allocations: 346.8 kB / 0.9903 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.71e-07/1.47, allocations: 0 / 0.9903 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005618/1.47, allocations: 55.98 kB / 0.9903 GB, free: 12.21 MB / 0.7481 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.003478/1.474, allocations: 1.074 MB / 0.9914 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000549/1.474, allocations: 101.6 kB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.474, allocations: 64 / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/1.474, allocations: 47.92 kB / 0.9915 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/1.475, allocations: 60.36 kB / 0.9916 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/1.478, allocations: 1.22 MB / 0.9928 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/1.479, allocations: 0.8301 MB / 0.9936 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002563/1.479, allocations: 41.92 kB / 0.9936 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/1.48, allocations: 127.4 kB / 0.9937 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of SimCode: time 1.462e-06/1.48, allocations: 4 kB / 0.9937 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.22/1.7, allocations: 7.298 MB / 1.001 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004836/1.7, allocations: 234.2 kB / 1.001 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/5.188, allocations: 0 / 1.001 GB, free: 1.434 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat does not exist to compare? outputFormat=mat