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.354/2.354, allocations: 390.3 MB / 405.3 MB, free: 13.37 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.001198/0.001198, allocations: 181.1 kB / 498.1 MB, free: 5.625 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.49/1.49, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008937, allocations: 106 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 13.67 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.267, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.4394, allocations: 149.3 MB / 1.369 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4397, allocations: 75.91 kB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003319/0.443, allocations: 1.081 MB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.073e-06/0.443, allocations: 0 / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.4431, allocations: 0 / 1.37 GB, free: 11.62 MB / 0.8698 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.0005242/0.4436, allocations: 391.1 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4436, allocations: 12.03 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.4437, allocations: 30.56 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.4437, allocations: 11.91 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4439, allocations: 175 kB / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.4439, allocations: 4 kB / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.4439, allocations: 0 / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.4442, allocations: 89.58 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4442, allocations: 0 / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4442, allocations: 3.984 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4442, allocations: 4 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.4446, allocations: 99.92 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.4451, allocations: 328.7 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.4454, allocations: 82.47 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.4456, allocations: 109.1 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4456, allocations: 42.56 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4456, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006733/0.4463, allocations: 177.6 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4464, allocations: 55.36 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.4465, allocations: 120.5 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4465, allocations: 29.7 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.4466, allocations: 96.05 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.4466, allocations: 7.891 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.4466, allocations: 4 kB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4467, allocations: 314.8 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.4469, allocations: 55.89 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.447, allocations: 51.89 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.4472, allocations: 51.95 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4472, allocations: 0 / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003633/0.4476, allocations: 137.5 kB / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4476, allocations: 4 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4476, allocations: 0 / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4476, allocations: 4 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4478, allocations: 15.98 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4478, allocations: 8 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.492e-05/0.4479, allocations: 23.92 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.4479, allocations: 0 / 1.372 GB, free: 8.902 MB / 0.8698 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 9.513e-05/0.448, allocations: 113.8 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.4481, allocations: 4 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.4485, allocations: 153.3 kB / 1.373 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4485, allocations: 4 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4485, allocations: 0 / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.4485, allocations: 7.984 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.4487, allocations: 177.6 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4487, allocations: 0 / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4488, allocations: 23.98 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4489, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4489, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4489, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4489, allocations: 4 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.4493, allocations: 243.7 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.4493, allocations: 81.02 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4494, allocations: 0 / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4495, allocations: 15.98 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.4495, allocations: 11.98 kB / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4496, allocations: 7.938 kB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.46e-05/0.4496, allocations: 95.27 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4496, allocations: 0 / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002322/0.4499, allocations: 19.94 kB / 1.373 GB, free: 7.852 MB / 0.8698 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.0007899/0.4507, allocations: 0.7706 MB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.451, allocations: 103.8 kB / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.451, allocations: 4 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4512, allocations: 51.97 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.4514, allocations: 7.984 kB / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.4519, allocations: 190.3 kB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4522, allocations: 0.7003 MB / 1.375 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.4522, allocations: 4 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.4523, allocations: 11.44 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of SimCode: time 3.797e-06/0.4523, allocations: 0 / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.4651, allocations: 1.528 MB / 1.376 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.4653, allocations: 180 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.973, allocations: 0 / 1.377 GB, free: 4.273 MB / 0.8698 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