Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",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.001292/0.001292, allocations: 99.7 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.001572/0.001573, 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 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.458/2.458, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8811, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001384/0.8825, allocations: 1.192 MB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.8828, allocations: 103.3 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.8828, allocations: 0 / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.8829, allocations: 3.938 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.8829, allocations: 11.52 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.8831, allocations: 11.67 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.373e-05/0.8832, allocations: 23.53 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.8833, allocations: 12.77 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.8834, allocations: 22.16 kB / 0.9549 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.8834, allocations: 19.23 kB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.8834, allocations: 1.281 kB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.8835, allocations: 16.98 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.8835, allocations: 10.23 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.8836, allocations: 32.23 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.8837, allocations: 32.34 kB / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8837, allocations: 0 / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8837, allocations: 0 / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.8837, allocations: 5.406 kB / 0.955 GB, free: 6.895 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.0004474/0.8841, allocations: 374.8 kB / 0.9554 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8842, allocations: 14.11 kB / 0.9554 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.8842, allocations: 34.5 kB / 0.9554 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.8843, allocations: 19.08 kB / 0.9555 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.223e-05/0.8844, allocations: 178.4 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.8844, allocations: 2.125 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.8844, allocations: 1.188 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.8846, allocations: 88.86 kB / 0.9557 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.8847, allocations: 4 kB / 0.9557 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8847, allocations: 0 / 0.9557 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.8847, allocations: 1.094 kB / 0.9557 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.885, allocations: 98.22 kB / 0.9558 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.8853, allocations: 290 kB / 0.9561 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.8856, allocations: 78.16 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.8858, allocations: 101 kB / 0.9563 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.8858, allocations: 36.28 kB / 0.9563 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.8858, allocations: 0 / 0.9563 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005846/0.8864, allocations: 183 kB / 0.9565 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.8865, allocations: 56.89 kB / 0.9565 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.8865, allocations: 129.9 kB / 0.9567 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.8866, allocations: 29.64 kB / 0.9567 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.8866, allocations: 91.31 kB / 0.9568 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.8866, allocations: 12.97 kB / 0.9568 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.8866, allocations: 0.9688 kB / 0.9568 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.8867, allocations: 316.7 kB / 0.9571 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.8869, allocations: 46.34 kB / 0.9571 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.887, allocations: 51.8 kB / 0.9572 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.8872, allocations: 45.75 kB / 0.9572 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8872, allocations: 1.125 kB / 0.9572 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003363/0.8875, allocations: 140.7 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.8875, allocations: 5 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8875, allocations: 1 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.8876, allocations: 3.953 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.8877, allocations: 19.52 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.8877, allocations: 1 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.8878, allocations: 27.81 kB / 0.9574 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.8878, allocations: 1.219 kB / 0.9574 GB, free: 4.77 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.93e-05/0.8879, allocations: 112.8 kB / 0.9575 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.8879, allocations: 6.75 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.8883, allocations: 153.7 kB / 0.9577 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8883, allocations: 0 / 0.9577 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8883, allocations: 4.891 kB / 0.9577 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8883, allocations: 4 kB / 0.9577 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.8885, allocations: 176.5 kB / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8885, allocations: 0 / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.8886, allocations: 23.67 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8886, allocations: 0 / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.8886, allocations: 2.656 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8886, allocations: 0 / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8886, allocations: 0 / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.8889, allocations: 231.2 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.889, allocations: 83.42 kB / 0.9582 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.889, allocations: 5.062 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.8891, allocations: 19.59 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.8892, allocations: 1.188 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.8892, allocations: 1.156 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.8892, allocations: 111.7 kB / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8892, allocations: 0 / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002328/0.8895, allocations: 9.156 kB / 0.9583 GB, free: 3.945 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.0005454/0.89, allocations: 0.7624 MB / 0.9591 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.8904, allocations: 106.2 kB / 0.9592 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8904, allocations: 0 / 0.9592 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.8906, allocations: 58.8 kB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.8907, allocations: 6.906 kB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.8912, allocations: 194 kB / 0.9594 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.8913, allocations: 0.6885 MB / 0.9601 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.8913, allocations: 1.781 kB / 0.9601 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.8914, allocations: 17.03 kB / 0.9601 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.8914, allocations: 0 / 0.9601 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.9026, allocations: 1.515 MB / 0.9616 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.9028, allocations: 179.2 kB / 0.9618 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.506, allocations: 0 / 0.9618 GB, free: 1.312 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat does not exist to compare? outputFormat=mat