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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 180.8 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009445, allocations: 103.8 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.981e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2924, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8846/1.177, allocations: 148.5 MB / 1.351 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.177, allocations: 77.58 kB / 1.351 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003882/1.181, allocations: 1.077 MB / 1.352 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.395e-06/1.181, allocations: 1.312 kB / 1.352 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.181, allocations: 3.938 kB / 1.352 GB, free: 33.87 MB / 0.8386 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.0004231/1.182, allocations: 381.1 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.182, allocations: 8.438 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/1.182, allocations: 3.812 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.182, allocations: 176.2 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.182, allocations: 7.875 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/1.182, allocations: 0 / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001108/1.182, allocations: 32.34 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/1.182, allocations: 54.78 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.182, allocations: 0 / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.182, allocations: 0 / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.182, allocations: 0 / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/1.183, allocations: 304 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/1.183, allocations: 41.31 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/1.183, allocations: 25.38 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/1.183, allocations: 103.7 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.183, allocations: 31.69 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.183, allocations: 4 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002398/1.183, allocations: 80.91 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/1.183, allocations: 51.41 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/1.183, allocations: 109.6 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/1.183, allocations: 25.7 kB / 1.354 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/1.184, allocations: 92.8 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/1.184, allocations: 9.078 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/1.184, allocations: 1.75 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.184, allocations: 325.1 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/1.184, allocations: 18.61 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/1.184, allocations: 13.44 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/1.184, allocations: 28.78 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.184, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001268/1.184, allocations: 70.31 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.184, allocations: 5.438 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.184, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.184, allocations: 3.844 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.184, allocations: 29.33 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/1.184, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/1.184, allocations: 16.83 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/1.184, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 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 () * 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 7.229e-05/1.184, allocations: 111.7 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001417/1.184, allocations: 78.62 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/1.185, allocations: 9.109 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/1.185, allocations: 92.67 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.185, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.185, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.185, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/1.185, allocations: 157.8 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.185, allocations: 1.453 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/1.185, allocations: 24.31 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.185, allocations: 7.781 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.185, allocations: 0 / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.185, allocations: 0 / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.185, allocations: 5.016 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/1.185, allocations: 171.1 kB / 1.355 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/1.185, allocations: 86.58 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/1.185, allocations: 0 / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/1.185, allocations: 19.95 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/1.185, allocations: 7.906 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/1.185, allocations: 3.844 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.369e-05/1.186, allocations: 98.39 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.773e-06/1.186, allocations: 0 / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002107/1.186, allocations: 15.66 kB / 1.355 GB, free: 31.49 MB / 0.8386 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 () * 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.0005025/1.186, allocations: 0.7132 MB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.247e-05/1.186, allocations: 28.27 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.186, allocations: 3.625 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/1.186, allocations: 20.14 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/1.187, allocations: 4.547 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/1.187, allocations: 128.9 kB / 1.356 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.187, allocations: 0.6929 MB / 1.357 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.103e-05/1.187, allocations: 1.312 kB / 1.357 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/1.187, allocations: 15.45 kB / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.187, allocations: 0 / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/1.209, allocations: 1.217 MB / 1.358 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.209, allocations: 145 kB / 1.358 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/2.621, allocations: 4 kB / 1.358 GB, free: 29.73 MB / 0.8386 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