Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_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.001162/0.001163, allocations: 100.1 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.001252/0.001252, 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.502/1.502, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.444/2.444, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003613, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7619, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001309/0.7632, allocations: 1.196 MB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002366/0.7635, allocations: 99.62 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.7635, allocations: 6.156 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.7636, allocations: 7.922 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.7636, allocations: 9.141 kB / 0.9549 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.7638, allocations: 11.61 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.7638, allocations: 28.84 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.7639, allocations: 12.84 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.764, allocations: 10.06 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.764, allocations: 25.92 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.764, allocations: 6.188 kB / 0.955 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.7641, allocations: 16.95 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.7641, allocations: 15.14 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.7642, allocations: 28.77 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.122e-05/0.7643, allocations: 32.88 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.7643, allocations: 0 / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7643, allocations: 0 / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7643, allocations: 0 / 0.955 GB, free: 6.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004217/0.7647, allocations: 384.2 kB / 0.9554 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.7648, allocations: 12.91 kB / 0.9554 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.7648, allocations: 39.8 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.7649, allocations: 15.67 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.7649, allocations: 170.3 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.765, allocations: 1.25 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.765, allocations: 1.188 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.7652, allocations: 88.95 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.7652, allocations: 0 / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.7653, allocations: 0 / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7653, allocations: 1.562 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.7656, allocations: 106.1 kB / 0.9558 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.7659, allocations: 285 kB / 0.9561 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.7661, allocations: 78.44 kB / 0.9562 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.7663, allocations: 105.5 kB / 0.9563 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.7664, allocations: 39.67 kB / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7664, allocations: 0 / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005656/0.7669, allocations: 179.3 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.767, allocations: 56.31 kB / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.7671, allocations: 131.6 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.7671, allocations: 30.83 kB / 0.9567 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.7671, allocations: 87.52 kB / 0.9568 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.7671, allocations: 5.219 kB / 0.9568 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.7671, allocations: 4 kB / 0.9568 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.7672, allocations: 316 kB / 0.9571 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.7673, allocations: 47.84 kB / 0.9571 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.7675, allocations: 45.89 kB / 0.9572 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.7677, allocations: 54.8 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7677, allocations: 1.344 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003258/0.768, allocations: 136.8 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.768, allocations: 4.656 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.768, allocations: 0.9062 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.768, allocations: 3.953 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.7682, allocations: 28.25 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7682, allocations: 3.984 kB / 0.9574 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.7683, allocations: 19.83 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.7683, allocations: 1.438 kB / 0.9574 GB, free: 4.824 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 (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 5.636e-05/0.7683, allocations: 116.7 kB / 0.9575 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.7684, allocations: 7.875 kB / 0.9575 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.7688, allocations: 147.7 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7688, allocations: 5.156 kB / 0.9577 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7688, allocations: 3.953 kB / 0.9577 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7688, allocations: 1 kB / 0.9577 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.769, allocations: 179.8 kB / 0.9579 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.769, allocations: 1.125 kB / 0.9579 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.7691, allocations: 22.33 kB / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7691, allocations: 1.406 kB / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.7691, allocations: 0 / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7691, allocations: 3.969 kB / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7691, allocations: 0 / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.7695, allocations: 225.2 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.7695, allocations: 83.61 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.7695, allocations: 3.984 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.7696, allocations: 24.14 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.7697, allocations: 5.469 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.7697, allocations: 5.375 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.7697, allocations: 107.6 kB / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7697, allocations: 0 / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.77, allocations: 9.188 kB / 0.9583 GB, free: 3.992 MB / 0.7169 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.0005757/0.7706, allocations: 0.7603 MB / 0.9591 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.771, allocations: 105.2 kB / 0.9592 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.771, allocations: 0 / 0.9592 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.7711, allocations: 54.98 kB / 0.9592 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.7713, allocations: 7.812 kB / 0.9592 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.7718, allocations: 188.7 kB / 0.9594 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.772, allocations: 0.6891 MB / 0.9601 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.772, allocations: 5.094 kB / 0.9601 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.7721, allocations: 21.77 kB / 0.9601 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7721, allocations: 0 / 0.9601 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.7836, allocations: 1.523 MB / 0.9616 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.7838, allocations: 179.9 kB / 0.9618 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.538, allocations: 0 / 0.9618 GB, free: 1.367 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat does not exist to compare? outputFormat=mat