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.001066/0.001066, allocations: 91.61 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.001389/0.001389, 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.474/1.474, allocations: 223.2 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.574/2.574, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 16 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8282, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001629/0.8298, allocations: 1.194 MB / 0.9823 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002877/0.8302, allocations: 100.6 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.8302, allocations: 4 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.8302, allocations: 4 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.154e-05/0.8303, allocations: 7.922 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.8305, allocations: 19.97 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.8306, allocations: 35.86 kB / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.8307, allocations: 11.98 kB / 0.9825 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.8307, allocations: 15.92 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.8308, allocations: 15.92 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.8308, allocations: 8 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.8309, allocations: 19.92 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.8309, allocations: 15.92 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.831, allocations: 29.7 kB / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.384e-05/0.8311, allocations: 39.92 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8311, allocations: 0 / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8311, allocations: 0 / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.8311, allocations: 0 / 0.9826 GB, free: 4.77 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.0005384/0.8316, allocations: 385.4 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8317, allocations: 8.031 kB / 0.983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.8317, allocations: 34.56 kB / 0.983 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.8318, allocations: 7.906 kB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.8319, allocations: 174.9 kB / 0.9832 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.8319, allocations: 0 / 0.9832 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.8319, allocations: 4 kB / 0.9832 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.8322, allocations: 89.59 kB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.8322, allocations: 4 kB / 0.9833 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.8322, allocations: 3.938 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8322, allocations: 0 / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.8325, allocations: 95.92 kB / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.8329, allocations: 288.9 kB / 0.9837 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.8332, allocations: 82.47 kB / 0.9837 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.8333, allocations: 56.92 kB / 0.9838 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.8336, allocations: 105.1 kB / 0.9839 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.8336, allocations: 34.56 kB / 0.9839 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.8336, allocations: 4 kB / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005966/0.8342, allocations: 189.4 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.8343, allocations: 51.41 kB / 0.9842 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.8344, allocations: 121 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8345, allocations: 29.7 kB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.8345, allocations: 96.12 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.8346, allocations: 7.906 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8346, allocations: 0 / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8347, allocations: 318.8 kB / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.8349, allocations: 43.97 kB / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.835, allocations: 55.89 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.8352, allocations: 43.97 kB / 0.9848 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8352, allocations: 0 / 0.9848 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003431/0.8355, allocations: 145.4 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8356, allocations: 8 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8356, allocations: 0 / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8356, allocations: 0 / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.8357, allocations: 23.97 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8357, allocations: 0 / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.8358, allocations: 23.92 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.8358, allocations: 0 / 0.985 GB, free: 2.043 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.0001038/0.8359, allocations: 113.8 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.836, allocations: 11.86 kB / 0.9852 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.8364, allocations: 141.5 kB / 0.9853 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8364, allocations: 0 / 0.9853 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8364, allocations: 3.938 kB / 0.9853 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8364, allocations: 4 kB / 0.9853 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.8366, allocations: 181.6 kB / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8366, allocations: 0 / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.8367, allocations: 15.98 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.8367, allocations: 7.953 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.8367, allocations: 0 / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8367, allocations: 0 / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8367, allocations: 0 / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.8371, allocations: 235.3 kB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.8372, allocations: 85.11 kB / 0.9858 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.8372, allocations: 4.375 kB / 0.9858 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8373, allocations: 19.97 kB / 0.9858 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.8374, allocations: 0 / 0.9858 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.8374, allocations: 0 / 0.9858 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.8374, allocations: 107.3 kB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8374, allocations: 3.938 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002287/0.8377, allocations: 15.98 kB / 0.9859 GB, free: 1.008 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.0006671/0.8384, allocations: 0.7631 MB / 0.9867 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.8387, allocations: 95.92 kB / 0.9868 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8387, allocations: 7.938 kB / 0.9868 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.8388, allocations: 59.89 kB / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.8391, allocations: 10.91 kB / 0.9869 GB, free: 48 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.8396, allocations: 194.6 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.8399, allocations: 0.6886 MB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.8399, allocations: 4 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.8399, allocations: 11.44 kB / 0.9877 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.84, allocations: 0 / 0.9877 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.8524, allocations: 1.551 MB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.8527, allocations: 197.5 kB / 0.9894 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.681, allocations: 0 / 0.9894 GB, free: 13.42 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