Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",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.001623/0.001623, 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.001748/0.001748, 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.319/2.319, 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.246/4.246, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005769, allocations: 12 kB / 0.8375 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.288, allocations: 146.8 MB / 0.9809 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003449/1.291, allocations: 1.198 MB / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005397/1.292, allocations: 104.6 kB / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/1.292, allocations: 4 kB / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.257e-05/1.292, allocations: 3.984 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/1.292, allocations: 7.922 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/1.293, allocations: 15.98 kB / 0.9822 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/1.293, allocations: 27.97 kB / 0.9822 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/1.293, allocations: 7.984 kB / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/1.293, allocations: 15.92 kB / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/1.293, allocations: 23.91 kB / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/1.293, allocations: 4 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/1.293, allocations: 15.98 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/1.293, allocations: 11.92 kB / 0.9823 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/1.293, allocations: 41.58 kB / 0.9823 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/1.294, allocations: 35.94 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.294, allocations: 0 / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.681e-06/1.294, allocations: 0 / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.294, allocations: 0 / 0.9823 GB, free: 4.848 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001027/1.295, allocations: 382.9 kB / 0.9827 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.611e-05/1.295, allocations: 8.031 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/1.295, allocations: 38.55 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/1.295, allocations: 3.906 kB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/1.295, allocations: 174.9 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/1.295, allocations: 4 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/1.295, allocations: 4 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/1.296, allocations: 97.53 kB / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.296, allocations: 0 / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/1.296, allocations: 0 / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/1.296, allocations: 0 / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/1.297, allocations: 95.92 kB / 0.9831 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/1.297, allocations: 285 kB / 0.9834 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/1.298, allocations: 82.42 kB / 0.9835 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/1.298, allocations: 105.2 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/1.298, allocations: 34.55 kB / 0.9836 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/1.298, allocations: 0 / 0.9836 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0009922/1.299, allocations: 181.5 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/1.299, allocations: 55.41 kB / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/1.3, allocations: 128.7 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/1.3, allocations: 25.7 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.3, allocations: 92.14 kB / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/1.3, allocations: 3.906 kB / 0.9841 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/1.3, allocations: 3.938 kB / 0.9841 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002595/1.3, allocations: 318.8 kB / 0.9844 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/1.3, allocations: 47.97 kB / 0.9844 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/1.301, allocations: 51.95 kB / 0.9845 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/1.301, allocations: 48.23 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.301, allocations: 0 / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005627/1.302, allocations: 141.4 kB / 0.9846 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.302, allocations: 5.562 kB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.302, allocations: 0 / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.302, allocations: 4 kB / 0.9846 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/1.302, allocations: 27.97 kB / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.302, allocations: 3.984 kB / 0.9847 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/1.302, allocations: 19.92 kB / 0.9847 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.302, allocations: 3.938 kB / 0.9847 GB, free: 2.184 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 (3): * Single equations (assignments): 3 * 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.0001815/1.302, allocations: 121.8 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/1.302, allocations: 11.86 kB / 0.9848 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/1.303, allocations: 141.5 kB / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.303, allocations: 0 / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.303, allocations: 0 / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.303, allocations: 0 / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/1.303, allocations: 177.6 kB / 0.9851 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/1.303, allocations: 4 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/1.304, allocations: 23.98 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.304, allocations: 0 / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/1.304, allocations: 3.953 kB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.304, allocations: 0 / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.304, allocations: 0 / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/1.304, allocations: 231.3 kB / 0.9854 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/1.304, allocations: 81.11 kB / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/1.304, allocations: 3.984 kB / 0.9855 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.305, allocations: 27.94 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.305, allocations: 0 / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/1.305, allocations: 4 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001093/1.305, allocations: 103.2 kB / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.305, allocations: 0 / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004182/1.305, allocations: 12 kB / 0.9856 GB, free: 1.152 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 (3): * Single equations (assignments): 3 * 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.001189/1.306, allocations: 0.7631 MB / 0.9864 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005556/1.307, allocations: 99.92 kB / 0.9864 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.307, allocations: 0 / 0.9864 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/1.307, allocations: 55.95 kB / 0.9865 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/1.308, allocations: 7.953 kB / 0.9865 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/1.308, allocations: 202.1 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/1.309, allocations: 0.6926 MB / 0.9874 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.773e-05/1.309, allocations: 4 kB / 0.9874 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/1.309, allocations: 15.42 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.309, allocations: 4 kB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/1.332, allocations: 1.527 MB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003204/1.332, allocations: 180.3 kB / 0.9891 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.318, allocations: 0 / 0.9891 GB, free: 13.59 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat does not exist to compare? outputFormat=mat