Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",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 2.025/2.025, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001337/0.001337, allocations: 188.8 kB / 496.1 MB, free: 12.89 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.289/1.289, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0008684/0.0008689, allocations: 95.94 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.697e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6665/0.8799, allocations: 150.8 MB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.8801, allocations: 72.89 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004711/0.8848, allocations: 1.747 MB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8849, allocations: 0.875 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.8849, allocations: 3.938 kB / 1.368 GB, free: 1.668 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004017/0.8853, allocations: 391 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8853, allocations: 8.031 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.8854, allocations: 41.73 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.8854, allocations: 15.77 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.8856, allocations: 205.4 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-06/0.8856, allocations: 0 / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.8856, allocations: 11.12 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.8858, allocations: 89.03 kB / 1.369 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8858, allocations: 3.938 kB / 1.369 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.8859, allocations: 7.938 kB / 1.369 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.8859, allocations: 0 / 1.369 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.886, allocations: 64.73 kB / 1.369 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.8865, allocations: 380.5 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.8866, allocations: 48.58 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.8867, allocations: 34.92 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.8867, allocations: 4 kB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.8868, allocations: 42.48 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.8868, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002223/0.887, allocations: 91.39 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.887, allocations: 55.41 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.8871, allocations: 120.3 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.8872, allocations: 25.7 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.8872, allocations: 109 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.8872, allocations: 15.72 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.8873, allocations: 3.375 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.8874, allocations: 322.3 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.8874, allocations: 27.61 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.8875, allocations: 19.38 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.8875, allocations: 34.17 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8875, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001383/0.8877, allocations: 98.52 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.8877, allocations: 5.562 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.8877, allocations: 256 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8877, allocations: 4 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.8879, allocations: 27.98 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8879, allocations: 0 / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.8879, allocations: 15.92 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.888, allocations: 11.3 kB / 1.37 GB, free: 15.37 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 (6): * Single equations (assignments): 6 * 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 6.016e-05/0.888, allocations: 101 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.8881, allocations: 11.86 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.8883, allocations: 121.3 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8883, allocations: 7.922 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8883, allocations: 4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8883, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.8885, allocations: 206.3 kB / 1.37 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8885, allocations: 0 / 1.37 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8886, allocations: 23.97 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8886, allocations: 0 / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.8887, allocations: 3.953 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8887, allocations: 4 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8887, allocations: 0 / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.8889, allocations: 197.4 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.8889, allocations: 85.02 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.8889, allocations: 0 / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.889, allocations: 19.12 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.8891, allocations: 8 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.8891, allocations: 7.984 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.8892, allocations: 97.19 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8892, allocations: 0 / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002031/0.8894, allocations: 23.84 kB / 1.371 GB, free: 14.45 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 (6): * Single equations (assignments): 6 * 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.0004313/0.8898, allocations: 0.7444 MB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.8899, allocations: 68.47 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.89, allocations: 0 / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.89, allocations: 45.61 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.8901, allocations: 8.391 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.8906, allocations: 179.5 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.8908, allocations: 0.7117 MB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.978e-05/0.8909, allocations: 15.98 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.8909, allocations: 25.8 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.8909, allocations: 0 / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.902, allocations: 1.678 MB / 1.374 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.9022, allocations: 155 kB / 1.374 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.267/2.169, allocations: 0 / 1.374 GB, free: 10.88 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat does not exist to compare? outputFormat=mat