Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.0012/0.0012, allocations: 99.86 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.001311/0.001311, allocations: 177.3 kB / 15.95 MB, free: 216 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.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.587/2.587, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.7486, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00103/0.7497, allocations: 0.9318 MB / 0.9545 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001709/0.7499, allocations: 46.08 kB / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.7499, allocations: 1.312 kB / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.75, allocations: 11.92 kB / 0.9546 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.7501, allocations: 1.031 kB / 0.9546 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.7502, allocations: 3.344 kB / 0.9546 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.177e-05/0.7502, allocations: 19.62 kB / 0.9546 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.7503, allocations: 1.188 kB / 0.9546 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.7503, allocations: 2.438 kB / 0.9546 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.7503, allocations: 6.281 kB / 0.9546 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.7504, allocations: 1.156 kB / 0.9546 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.7504, allocations: 8.109 kB / 0.9546 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.7505, allocations: 44.08 kB / 0.9546 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.7505, allocations: 42.11 kB / 0.9547 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.061e-05/0.7506, allocations: 45.23 kB / 0.9547 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.7506, allocations: 4 kB / 0.9547 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7506, allocations: 1.312 kB / 0.9547 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7506, allocations: 0 / 0.9547 GB, free: 7.215 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002856/0.7509, allocations: 407.6 kB / 0.9551 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.7509, allocations: 9.906 kB / 0.9551 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.751, allocations: 105.8 kB / 0.9552 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.751, allocations: 94.14 kB / 0.9553 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.7511, allocations: 257.4 kB / 0.9556 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7512, allocations: 154.6 kB / 0.9557 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.7512, allocations: 154.5 kB / 0.9559 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.064e-05/0.7512, allocations: 106.1 kB / 0.956 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7512, allocations: 75.28 kB / 0.956 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.7513, allocations: 151.7 kB / 0.9562 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.7513, allocations: 158.5 kB / 0.9563 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.7513, allocations: 155.8 kB / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.7515, allocations: 499.7 kB / 0.9569 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.625e-05/0.7516, allocations: 174.3 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.7516, allocations: 83.28 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.7516, allocations: 106.9 kB / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.7516, allocations: 3.938 kB / 0.9573 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.938e-05/0.7517, allocations: 38.39 kB / 0.9573 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.7517, allocations: 126.7 kB / 0.9575 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.7519, allocations: 223.5 kB / 0.9577 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.7519, allocations: 30.92 kB / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.752, allocations: 113.6 kB / 0.9578 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.752, allocations: 1.031 kB / 0.9578 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.752, allocations: 0 / 0.9578 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.752, allocations: 327 kB / 0.9581 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.7521, allocations: 61.33 kB / 0.9582 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.7522, allocations: 55.09 kB / 0.9582 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.999e-05/0.7523, allocations: 63.42 kB / 0.9583 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7523, allocations: 0 / 0.9583 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002816/0.7526, allocations: 171.3 kB / 0.9585 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7526, allocations: 9.406 kB / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7526, allocations: 0 / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7526, allocations: 1.188 kB / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.7526, allocations: 0 / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.7526, allocations: 0 / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.7527, allocations: 15.03 kB / 0.9585 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.7527, allocations: 5.688 kB / 0.9585 GB, free: 3.516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.292e-05/0.7528, allocations: 208.2 kB / 0.9587 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.7528, allocations: 114 kB / 0.9588 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.7529, allocations: 125.1 kB / 0.9589 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.7529, allocations: 181.2 kB / 0.9591 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.831e-05/0.753, allocations: 177.4 kB / 0.9593 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.753, allocations: 181.5 kB / 0.9594 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.7532, allocations: 439.2 kB / 0.9598 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.7532, allocations: 110.4 kB / 0.96 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.7532, allocations: 106.4 kB / 0.9601 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.7532, allocations: 180.2 kB / 0.9602 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.7533, allocations: 187 kB / 0.9604 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/0.7533, allocations: 177.7 kB / 0.9606 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.25e-05/0.7533, allocations: 180.3 kB / 0.9607 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.997e-05/0.7534, allocations: 318.6 kB / 0.961 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.7535, allocations: 202.1 kB / 0.9612 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.7535, allocations: 177.5 kB / 0.9614 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.7536, allocations: 102.1 kB / 0.9615 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.7536, allocations: 192.2 kB / 0.9617 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.7537, allocations: 106.2 kB / 0.9618 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001215/0.7538, allocations: 160.1 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7538, allocations: 0 / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002441/0.754, allocations: 26.16 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004242/0.7545, allocations: 0.8333 MB / 0.9628 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.7546, allocations: 79.05 kB / 0.9629 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7546, allocations: 1.469 kB / 0.9629 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.7546, allocations: 0 / 0.9629 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.7549, allocations: 0.5286 MB / 0.9634 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.7555, allocations: 0.5238 MB / 0.9639 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.7558, allocations: 0.7127 MB / 0.9646 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.803e-05/0.7559, allocations: 3.594 kB / 0.9646 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.7559, allocations: 29.77 kB / 0.9646 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of SimCode: time 1.773e-06/0.7559, allocations: 0 / 0.9646 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.767, allocations: 2.158 MB / 0.9667 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.7672, allocations: 196.4 kB / 0.9669 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.373, allocations: 4.656 kB / 0.9669 GB, free: 11.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat