Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.969/1.969, allocations: 390.3 MB / 402.8 MB, free: 6.645 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.0009661/0.0009661, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0008413/0.0008413, allocations: 87.95 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.441e-05/4.48e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6949/0.9041, allocations: 150 MB / 1.365 GB, free: 4.051 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.9043, allocations: 70.69 kB / 1.365 GB, free: 4.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002815/0.9071, allocations: 1.082 MB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9071, allocations: 3.938 kB / 1.366 GB, free: 3.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.9071, allocations: 3.188 kB / 1.366 GB, free: 3.02 MB / 0.823 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.0003835/0.9075, allocations: 379.2 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9076, allocations: 12.03 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.9076, allocations: 30.56 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.9076, allocations: 4 kB / 1.367 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.9078, allocations: 178.9 kB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.9078, allocations: 3.562 kB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.9078, allocations: 4 kB / 1.367 GB, free: 2.336 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.9079, allocations: 52.69 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9079, allocations: 3.938 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.9079, allocations: 3.984 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.9079, allocations: 0 / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/0.908, allocations: 33.98 kB / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.9085, allocations: 323.6 kB / 1.367 GB, free: 1.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.04e-05/0.9086, allocations: 48.19 kB / 1.368 GB, free: 1.863 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.9086, allocations: 19.42 kB / 1.368 GB, free: 1.848 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.9088, allocations: 109.1 kB / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.9088, allocations: 34.56 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9088, allocations: 0.875 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001593/0.909, allocations: 71.02 kB / 1.368 GB, free: 1.613 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.909, allocations: 55.36 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.9091, allocations: 116.4 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.9091, allocations: 28.77 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.9092, allocations: 90.95 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.9092, allocations: 11.8 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.9092, allocations: 4 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.9093, allocations: 320.2 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.9093, allocations: 15.94 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.9094, allocations: 18.36 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.9094, allocations: 19.36 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.9094, allocations: 0 / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.653e-05/0.9095, allocations: 63.12 kB / 1.368 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.9095, allocations: 4 kB / 1.368 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.9096, allocations: 0 / 1.368 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.9096, allocations: 4 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.9097, allocations: 23.97 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.9097, allocations: 0 / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.981e-05/0.9098, allocations: 22.38 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.9098, allocations: 6.938 kB / 1.368 GB, free: 0.832 MB / 0.823 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 4.892e-05/0.9099, allocations: 105 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.9099, allocations: 7.906 kB / 1.369 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.9101, allocations: 89.19 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.9101, allocations: 0 / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.9101, allocations: 4 kB / 1.369 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.9101, allocations: 3.938 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.9103, allocations: 178.7 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.9103, allocations: 3.984 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.9104, allocations: 23.98 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9104, allocations: 0 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.9104, allocations: 240 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9104, allocations: 0 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9104, allocations: 0 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.9105, allocations: 179.4 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.9106, allocations: 84.95 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.9106, allocations: 0 / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.9107, allocations: 23.55 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.9108, allocations: 7.984 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.9108, allocations: 4 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.9108, allocations: 105.8 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9109, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001999/0.9111, allocations: 12 kB / 1.369 GB, free: 15.97 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.0003833/0.9114, allocations: 0.6959 MB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.9115, allocations: 38.69 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.9116, allocations: 0 / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.393e-05/0.9116, allocations: 19.3 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.9117, allocations: 3.688 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.9121, allocations: 143 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.9123, allocations: 0.6887 MB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.9124, allocations: 4 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.9124, allocations: 13.56 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of SimCode: time 3.286e-06/0.9124, allocations: 3.938 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.9233, allocations: 1.548 MB / 1.372 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.9235, allocations: 153.8 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.264/2.188, allocations: 0 / 1.373 GB, free: 12.68 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat does not exist to compare? outputFormat=mat