Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_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.002339/0.002339, allocations: 100 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.001703/0.001703, 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 2.433/2.433, 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 10.0.0-master/package.mo): time 4.9/4.9, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007185/0.0007186, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344/1.345, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003085/1.348, allocations: 1.19 MB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004927/1.349, allocations: 104.6 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/1.349, allocations: 0 / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/1.349, allocations: 0 / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.269e-05/1.349, allocations: 15.91 kB / 0.9821 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/1.349, allocations: 11.98 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/1.349, allocations: 31.89 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/1.35, allocations: 12 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/1.35, allocations: 15.92 kB / 0.9822 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/1.35, allocations: 19.92 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/1.35, allocations: 0 / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/1.35, allocations: 23.91 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/1.35, allocations: 4 kB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/1.35, allocations: 33.64 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/1.35, allocations: 39.92 kB / 0.9823 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/1.35, allocations: 0 / 0.9823 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.965e-06/1.35, allocations: 4 kB / 0.9823 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.35, allocations: 0 / 0.9823 GB, free: 4.762 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.0008563/1.351, allocations: 381.4 kB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.109e-05/1.351, allocations: 8.031 kB / 0.9827 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/1.352, allocations: 38.56 kB / 0.9827 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/1.352, allocations: 7.906 kB / 0.9827 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/1.352, allocations: 174.9 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.352, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/1.352, allocations: 4 kB / 0.9829 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/1.352, allocations: 85.61 kB / 0.983 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.352, allocations: 3.938 kB / 0.983 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.352, allocations: 4 kB / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.352, allocations: 0 / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/1.353, allocations: 95.92 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/1.354, allocations: 285 kB / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/1.354, allocations: 78.48 kB / 0.9834 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/1.354, allocations: 109.2 kB / 0.9836 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/1.354, allocations: 34.5 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/1.354, allocations: 0 / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0009938/1.355, allocations: 185.5 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.356, allocations: 55.41 kB / 0.9838 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/1.356, allocations: 125 kB / 0.9839 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/1.356, allocations: 25.7 kB / 0.984 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/1.356, allocations: 96.14 kB / 0.984 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/1.356, allocations: 3.906 kB / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/1.356, allocations: 4 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.356, allocations: 318.8 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/1.356, allocations: 47.95 kB / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/1.357, allocations: 55.84 kB / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/1.357, allocations: 47.95 kB / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.357, allocations: 3.938 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005718/1.357, allocations: 137.5 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/1.358, allocations: 9.406 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.358, allocations: 3.984 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/1.358, allocations: 0 / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.358, allocations: 19.98 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.358, allocations: 0 / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/1.358, allocations: 23.92 kB / 0.9847 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/1.358, allocations: 0 / 0.9847 GB, free: 2.102 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.0001442/1.358, allocations: 117.8 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/1.358, allocations: 11.86 kB / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/1.359, allocations: 137.5 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.359, allocations: 4 kB / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.359, allocations: 4 kB / 0.985 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.359, allocations: 4 kB / 0.985 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/1.359, allocations: 181.6 kB / 0.9851 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.359, allocations: 4 kB / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/1.359, allocations: 19.97 kB / 0.9852 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.359, allocations: 4 kB / 0.9852 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.359, allocations: 3.953 kB / 0.9852 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.359, allocations: 0 / 0.9852 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.359, allocations: 0 / 0.9852 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/1.36, allocations: 235.3 kB / 0.9854 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/1.36, allocations: 81.11 kB / 0.9855 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/1.36, allocations: 0 / 0.9855 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.36, allocations: 19.94 kB / 0.9855 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/1.361, allocations: 7.984 kB / 0.9855 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/1.361, allocations: 0 / 0.9855 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001025/1.361, allocations: 103.3 kB / 0.9856 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.361, allocations: 0 / 0.9856 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004494/1.361, allocations: 8 kB / 0.9856 GB, free: 1.07 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.001136/1.362, allocations: 0.7674 MB / 0.9863 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005397/1.363, allocations: 95.92 kB / 0.9864 GB, free: 184 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.363, allocations: 3.938 kB / 0.9864 GB, free: 180 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/1.363, allocations: 60.09 kB / 0.9865 GB, free: 120 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/1.363, allocations: 3.953 kB / 0.9865 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/1.364, allocations: 194.4 kB / 0.9867 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/1.365, allocations: 0.6965 MB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.514e-05/1.365, allocations: 3.984 kB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/1.365, allocations: 19.38 kB / 0.9874 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/1.365, allocations: 0 / 0.9874 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/1.387, allocations: 1.521 MB / 0.9889 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003631/1.387, allocations: 174.9 kB / 0.989 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/4.092, allocations: 0 / 0.989 GB, free: 13.51 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat does not exist to compare? outputFormat=mat