Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",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.492/2.492, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001212/0.001212, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.829/1.829, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.0009739/0.0009739, allocations: 107.2 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 12.94 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3075, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.4895, allocations: 150 MB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4898, allocations: 79.95 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005137/0.4949, allocations: 1.752 MB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.41e-07/0.4949, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.495, allocations: 3.938 kB / 1.371 GB, free: 10.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004959/0.4955, allocations: 402.9 kB / 1.372 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4955, allocations: 12.03 kB / 1.372 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.4956, allocations: 34.56 kB / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.4956, allocations: 15.86 kB / 1.372 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4958, allocations: 198.8 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4958, allocations: 8 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.4959, allocations: 4 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.4961, allocations: 109.6 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4962, allocations: 8 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4962, allocations: 4 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4962, allocations: 0 / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.4964, allocations: 99.89 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.497, allocations: 388.5 kB / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.4972, allocations: 66.5 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.4972, allocations: 3.984 kB / 1.373 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4973, allocations: 46.56 kB / 1.373 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.4973, allocations: 0 / 1.373 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0004589/0.4977, allocations: 177.5 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.4978, allocations: 51.41 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.4979, allocations: 121.8 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4979, allocations: 29.7 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.498, allocations: 104.3 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.498, allocations: 15.8 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.498, allocations: 4 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4981, allocations: 314.8 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4982, allocations: 51.91 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.4984, allocations: 43.97 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4985, allocations: 47.91 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4985, allocations: 0 / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002747/0.4988, allocations: 137.9 kB / 1.374 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4988, allocations: 4 kB / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4988, allocations: 4 kB / 1.374 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4988, allocations: 0 / 1.374 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.499, allocations: 28.03 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.499, allocations: 4 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.4991, allocations: 19.84 kB / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.4991, allocations: 7.984 kB / 1.374 GB, free: 7.461 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 (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 8.429e-05/0.4992, allocations: 113.8 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.4992, allocations: 11.86 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.4996, allocations: 158.3 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4996, allocations: 3.984 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4996, allocations: 0 / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4996, allocations: 0 / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.4998, allocations: 197.6 kB / 1.374 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4998, allocations: 0 / 1.374 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4999, allocations: 27.97 kB / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5, allocations: 4 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5, allocations: 3.953 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5, allocations: 0 / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5, allocations: 0 / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.5003, allocations: 235.3 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.5004, allocations: 92.94 kB / 1.374 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5004, allocations: 0 / 1.374 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5005, allocations: 19.94 kB / 1.374 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.5005, allocations: 7.984 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.5006, allocations: 8 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.5006, allocations: 102.1 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5006, allocations: 0 / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002157/0.5009, allocations: 15.94 kB / 1.375 GB, free: 6.379 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 (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.000623/0.5015, allocations: 0.7825 MB / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.5018, allocations: 115.9 kB / 1.375 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.5018, allocations: 0 / 1.375 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5019, allocations: 59.91 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.5021, allocations: 11.89 kB / 1.376 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5032, allocations: 0.72 MB / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5034, allocations: 0.7043 MB / 1.377 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.5035, allocations: 15.98 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.5036, allocations: 27.42 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/0.5036, allocations: 0 / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.5153, allocations: 1.663 MB / 1.379 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.5155, allocations: 174.4 kB / 1.379 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.08, allocations: 4 kB / 1.379 GB, free: 2.059 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat does not exist to compare? outputFormat=mat