Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_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.001032/0.001032, allocations: 91.92 kB / 15.06 MB, free: 1.098 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: 172.7 kB / 15.95 MB, free: 208 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.552/1.552, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.544/2.544, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7384, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001324/0.7398, allocations: 0.9294 MB / 0.982 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.7401, allocations: 51.88 kB / 0.9821 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.7401, allocations: 4 kB / 0.9821 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.7402, allocations: 0 / 0.9821 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.7403, allocations: 11.92 kB / 0.9821 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.7405, allocations: 15.92 kB / 0.9821 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.7406, allocations: 23.91 kB / 0.9821 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.7406, allocations: 0 / 0.9821 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.7407, allocations: 11.98 kB / 0.9822 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.7407, allocations: 16 kB / 0.9822 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.7408, allocations: 0 / 0.9822 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.7408, allocations: 11.98 kB / 0.9822 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.7409, allocations: 51.88 kB / 0.9822 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.7409, allocations: 45.64 kB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.741, allocations: 38.16 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7411, allocations: 4 kB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7411, allocations: 7.875 kB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7411, allocations: 0 / 0.9823 GB, free: 5.035 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004162/0.7415, allocations: 410.6 kB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7415, allocations: 8.031 kB / 0.9827 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.7416, allocations: 109.8 kB / 0.9828 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.7417, allocations: 87.19 kB / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.7418, allocations: 266.1 kB / 0.9832 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.7419, allocations: 150.6 kB / 0.9833 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.742, allocations: 150.6 kB / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.789e-05/0.742, allocations: 104.9 kB / 0.9835 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.7421, allocations: 79.28 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.7421, allocations: 150.6 kB / 0.9838 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.7422, allocations: 154.5 kB / 0.9839 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.7423, allocations: 154.6 kB / 0.9841 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.7426, allocations: 497.7 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.7427, allocations: 173.1 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.7427, allocations: 84.14 kB / 0.9848 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.7428, allocations: 79.22 kB / 0.9849 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.7428, allocations: 105.8 kB / 0.985 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7428, allocations: 0 / 0.985 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001015/0.7429, allocations: 45.47 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.743, allocations: 126.7 kB / 0.9851 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.7432, allocations: 231 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.7432, allocations: 25.7 kB / 0.9854 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.7433, allocations: 108.3 kB / 0.9855 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.7433, allocations: 0 / 0.9855 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.7433, allocations: 0 / 0.9855 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7435, allocations: 326.8 kB / 0.9858 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.7435, allocations: 64.14 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.7436, allocations: 60.27 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.7437, allocations: 60.28 kB / 0.986 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.7437, allocations: 3.938 kB / 0.986 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003015/0.744, allocations: 171.9 kB / 0.9861 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7441, allocations: 4 kB / 0.9861 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.7441, allocations: 4 kB / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7441, allocations: 7.891 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.7441, allocations: 0 / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7441, allocations: 0 / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.7442, allocations: 23.8 kB / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.7442, allocations: 4 kB / 0.9862 GB, free: 0.8516 MB / 0.7325 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 0.0001182/0.7443, allocations: 197.1 kB / 0.9864 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.7444, allocations: 131.1 kB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.7445, allocations: 109.5 kB / 0.9866 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/0.7445, allocations: 176.3 kB / 0.9868 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.754e-05/0.7446, allocations: 196.1 kB / 0.9869 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.058e-05/0.7447, allocations: 180.3 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.7449, allocations: 433.1 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/0.745, allocations: 105 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.745, allocations: 105 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.558e-05/0.7451, allocations: 184.2 kB / 0.9879 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.7452, allocations: 176.3 kB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.508e-05/0.7452, allocations: 188.2 kB / 0.9882 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.3e-05/0.7453, allocations: 176.3 kB / 0.9884 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.7455, allocations: 323.6 kB / 0.9887 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.7455, allocations: 189.9 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.7456, allocations: 180.2 kB / 0.9891 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.7457, allocations: 113 kB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.7458, allocations: 184.2 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.7459, allocations: 105.3 kB / 0.9895 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001233/0.746, allocations: 160.6 kB / 0.9896 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.746, allocations: 0 / 0.9896 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000253/0.7462, allocations: 27.94 kB / 0.9896 GB, free: 13.07 MB / 0.7481 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.0004479/0.7467, allocations: 0.8163 MB / 0.9904 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.7469, allocations: 87.92 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7469, allocations: 0 / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.7469, allocations: 4 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.7473, allocations: 0.5239 MB / 0.991 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.7486, allocations: 1.056 MB / 0.9921 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7489, allocations: 0.7121 MB / 0.9928 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.7489, allocations: 7.984 kB / 0.9928 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.749, allocations: 39.36 kB / 0.9928 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.749, allocations: 0 / 0.9928 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.7624, allocations: 2.488 MB / 0.9952 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.7626, allocations: 211.5 kB / 0.9954 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.513, allocations: 0 / 0.9954 GB, free: 7.164 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat