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.001359/0.001359, allocations: 98.53 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.00164/0.00164, 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 2.68/2.68, 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 5.061/5.061, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005962/0.0005964, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51/1.511, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001926/1.513, allocations: 0.9373 MB / 0.9818 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003236/1.513, allocations: 51.83 kB / 0.9818 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/1.513, allocations: 0 / 0.9818 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.293e-05/1.513, allocations: 0 / 0.9818 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/1.514, allocations: 3.984 kB / 0.9818 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/1.514, allocations: 11.98 kB / 0.9818 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/1.514, allocations: 7.938 kB / 0.9818 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/1.514, allocations: 3.984 kB / 0.9818 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/1.514, allocations: 4 kB / 0.9819 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/1.514, allocations: 3.984 kB / 0.9819 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/1.514, allocations: 8 kB / 0.9819 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/1.514, allocations: 4 kB / 0.9819 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/1.514, allocations: 47.83 kB / 0.9819 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/1.514, allocations: 41.64 kB / 0.982 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/1.515, allocations: 42.16 kB / 0.982 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.515, allocations: 0 / 0.982 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.831e-06/1.515, allocations: 3.984 kB / 0.982 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.515, allocations: 0 / 0.982 GB, free: 5.098 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.0006998/1.515, allocations: 422.6 kB / 0.9824 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.075e-05/1.515, allocations: 11.97 kB / 0.9824 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.253e-05/1.515, allocations: 105.8 kB / 0.9825 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/1.516, allocations: 83.19 kB / 0.9826 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/1.516, allocations: 270.1 kB / 0.9828 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.823e-05/1.516, allocations: 150.6 kB / 0.983 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/1.516, allocations: 150.6 kB / 0.9831 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/1.516, allocations: 108.9 kB / 0.9832 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/1.516, allocations: 75.28 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/1.516, allocations: 150.6 kB / 0.9835 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/1.516, allocations: 154.6 kB / 0.9836 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/1.516, allocations: 158.5 kB / 0.9838 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/1.517, allocations: 493.7 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/1.517, allocations: 173.1 kB / 0.9844 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/1.517, allocations: 75.28 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/1.517, allocations: 109.8 kB / 0.9846 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.805e-06/1.517, allocations: 4 kB / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001123/1.517, allocations: 45.41 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/1.517, allocations: 126.7 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/1.518, allocations: 231 kB / 0.985 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/1.518, allocations: 25.7 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/1.518, allocations: 104.3 kB / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/1.518, allocations: 0 / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.518, allocations: 0 / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.518, allocations: 330.8 kB / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.834e-05/1.518, allocations: 56.16 kB / 0.9854 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/1.518, allocations: 56.33 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/1.518, allocations: 61.27 kB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.518, allocations: 0 / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000369/1.519, allocations: 183.2 kB / 0.9857 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.519, allocations: 9.406 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.519, allocations: 0 / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.519, allocations: 0 / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-06/1.519, allocations: 3.953 kB / 0.9857 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.519, allocations: 4.047 kB / 0.9858 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/1.519, allocations: 19.75 kB / 0.9858 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/1.519, allocations: 7.938 kB / 0.9858 GB, free: 0.9883 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.0001699/1.519, allocations: 210.1 kB / 0.986 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/1.519, allocations: 112.8 kB / 0.9861 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/1.519, allocations: 124 kB / 0.9862 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/1.519, allocations: 176.3 kB / 0.9864 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-05/1.519, allocations: 196.2 kB / 0.9866 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/1.52, allocations: 180.2 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/1.52, allocations: 437.2 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/1.52, allocations: 104.9 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/1.52, allocations: 101 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.705e-05/1.52, allocations: 180.3 kB / 0.9875 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.771e-05/1.52, allocations: 180.2 kB / 0.9877 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.589e-05/1.52, allocations: 184.2 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001042/1.52, allocations: 184.2 kB / 0.988 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/1.521, allocations: 315.6 kB / 0.9883 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.521, allocations: 193.9 kB / 0.9885 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.521, allocations: 180.3 kB / 0.9887 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/1.521, allocations: 104.9 kB / 0.9888 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.521, allocations: 184.2 kB / 0.989 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/1.521, allocations: 108.9 kB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001726/1.521, allocations: 160.6 kB / 0.9892 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.521, allocations: 0 / 0.9892 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003066/1.522, allocations: 27.89 kB / 0.9893 GB, free: 13.2 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.000513/1.522, allocations: 0.8128 MB / 0.9901 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.522, allocations: 87.89 kB / 0.9901 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.522, allocations: 0 / 0.9901 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/1.522, allocations: 3.938 kB / 0.9901 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/1.523, allocations: 0.5224 MB / 0.9906 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/1.524, allocations: 0.5227 MB / 0.9912 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/1.524, allocations: 0.7121 MB / 0.9919 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.495e-05/1.524, allocations: 8 kB / 0.9919 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/1.524, allocations: 27.42 kB / 0.9919 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/1.524, allocations: 0 / 0.9919 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/1.555, allocations: 2.155 MB / 0.994 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003956/1.556, allocations: 206.6 kB / 0.9942 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/4.508, allocations: 7.875 kB / 0.9942 GB, free: 8.156 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