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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003908, allocations: 11.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8629, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001599/0.8646, allocations: 1.269 MB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.8653, allocations: 489.1 kB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.8654, allocations: 5.344 kB / 0.9553 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.056e-05/0.8655, allocations: 3.938 kB / 0.9553 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.618e-05/0.8655, allocations: 18.61 kB / 0.9553 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.8657, allocations: 35.11 kB / 0.9554 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.8658, allocations: 46.08 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.866, allocations: 34.81 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.8661, allocations: 27.05 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.8661, allocations: 30.58 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.8662, allocations: 1.438 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.8662, allocations: 9.203 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.8663, allocations: 16.92 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.8663, allocations: 42.19 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.8664, allocations: 55.55 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.8664, allocations: 0 / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8664, allocations: 1.5 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.8664, allocations: 0 / 0.9556 GB, free: 6.523 MB / 0.7169 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.0004506/0.8669, allocations: 392.1 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.8669, allocations: 9.438 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.867, allocations: 40.42 kB / 0.956 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.867, allocations: 12.95 kB / 0.956 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8672, allocations: 189 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8672, allocations: 2.969 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.8672, allocations: 12.81 kB / 0.9562 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.8675, allocations: 106.7 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8675, allocations: 9.141 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.8675, allocations: 4 kB / 0.9564 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8675, allocations: 2.312 kB / 0.9564 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.8678, allocations: 117.2 kB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.8683, allocations: 385.6 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.8685, allocations: 65.39 kB / 0.9569 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.8685, allocations: 10.61 kB / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.8685, allocations: 35.34 kB / 0.9569 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.8685, allocations: 3.938 kB / 0.9569 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004464/0.869, allocations: 180.5 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.869, allocations: 52.69 kB / 0.9572 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.8691, allocations: 135.5 kB / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.8691, allocations: 27.2 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.8692, allocations: 104.3 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.8692, allocations: 18.22 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.8692, allocations: 0 / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.8693, allocations: 321.7 kB / 0.9577 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.8694, allocations: 49.78 kB / 0.9578 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.8695, allocations: 43.03 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.8696, allocations: 56.06 kB / 0.9579 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8696, allocations: 0 / 0.9579 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002447/0.8699, allocations: 136.5 kB / 0.958 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.8699, allocations: 14.08 kB / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8699, allocations: 0 / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.8699, allocations: 0 / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.8701, allocations: 20.36 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8701, allocations: 0 / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.8701, allocations: 24.33 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.8702, allocations: 2.812 kB / 0.9581 GB, free: 4.363 MB / 0.7169 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 7.944e-05/0.8703, allocations: 120.3 kB / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.8703, allocations: 8.453 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.8707, allocations: 159.9 kB / 0.9584 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8707, allocations: 4 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8707, allocations: 0 / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8707, allocations: 1.344 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.8709, allocations: 198.2 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8709, allocations: 3.938 kB / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.871, allocations: 28.31 kB / 0.9586 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.871, allocations: 3.953 kB / 0.9586 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.871, allocations: 4 kB / 0.9586 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.871, allocations: 1.812 kB / 0.9586 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.871, allocations: 4 kB / 0.9586 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.8713, allocations: 227 kB / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.8714, allocations: 83.83 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.8714, allocations: 17.33 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.8715, allocations: 10.86 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.8715, allocations: 2.75 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.8716, allocations: 6.734 kB / 0.9589 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.8716, allocations: 103.5 kB / 0.959 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8716, allocations: 0 / 0.959 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002329/0.8718, allocations: 21.62 kB / 0.959 GB, free: 3.504 MB / 0.7169 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.0004736/0.8723, allocations: 0.7763 MB / 0.9598 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.8726, allocations: 112.6 kB / 0.9599 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8726, allocations: 0 / 0.9599 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.8727, allocations: 61.53 kB / 0.96 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.8729, allocations: 9.047 kB / 0.96 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.8739, allocations: 0.7144 MB / 0.9607 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.874, allocations: 0.7088 MB / 0.9614 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.325e-05/0.8741, allocations: 16.12 kB / 0.9614 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.8742, allocations: 30.17 kB / 0.9614 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8742, allocations: 0 / 0.9614 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.8854, allocations: 1.666 MB / 0.963 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.8855, allocations: 181.6 kB / 0.9632 GB, free: 444 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.54, allocations: 5.312 kB / 0.9632 GB, free: 440 kB / 0.7169 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