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.412/2.412, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001328/0.001328, allocations: 187.6 kB / 0.4901 GB, free: 2.238 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.657/1.657, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001032/0.001033, allocations: 104.2 kB / 0.9396 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 13.53 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.5362, allocations: 150.8 MB / 1.377 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5366, allocations: 75.97 kB / 1.377 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005593/0.5422, allocations: 1.747 MB / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5422, allocations: 0 / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.5423, allocations: 4 kB / 1.378 GB, free: 12.55 MB / 0.8855 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.0005076/0.5428, allocations: 410.8 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5428, allocations: 12.56 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.5429, allocations: 34.56 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.5429, allocations: 15.84 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.5432, allocations: 202.8 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5432, allocations: 4 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.5432, allocations: 4 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.5435, allocations: 113.6 kB / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5435, allocations: 0 / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5435, allocations: 0 / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.5436, allocations: 4 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.5438, allocations: 111.8 kB / 1.379 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.5444, allocations: 372.7 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.5446, allocations: 70.48 kB / 1.38 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.5447, allocations: 11.97 kB / 1.38 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.5447, allocations: 34.5 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5447, allocations: 4 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0005319/0.5453, allocations: 181.6 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.5453, allocations: 51.41 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5454, allocations: 122.9 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.5455, allocations: 29.7 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.5456, allocations: 108.3 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.5456, allocations: 7.812 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.5456, allocations: 4 kB / 1.38 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5457, allocations: 322.8 kB / 1.38 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.5459, allocations: 47.97 kB / 1.38 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.546, allocations: 43.91 kB / 1.381 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.5461, allocations: 51.97 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5461, allocations: 3.938 kB / 1.381 GB, free: 10 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002983/0.5464, allocations: 133.5 kB / 1.381 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5465, allocations: 4 kB / 1.381 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5465, allocations: 0 / 1.381 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5465, allocations: 4 kB / 1.381 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.5467, allocations: 24.41 kB / 1.381 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5467, allocations: 4 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.5468, allocations: 15.92 kB / 1.381 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.5468, allocations: 12 kB / 1.381 GB, free: 9.805 MB / 0.8855 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 0.0001103/0.5469, allocations: 117.8 kB / 1.381 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.547, allocations: 15.86 kB / 1.381 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.5474, allocations: 158.2 kB / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5474, allocations: 0 / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5474, allocations: 4 kB / 1.381 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5474, allocations: 0 / 1.381 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.5476, allocations: 201.6 kB / 1.381 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5477, allocations: 0 / 1.381 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.5478, allocations: 19.98 kB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5478, allocations: 0 / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5478, allocations: 3.953 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.5478, allocations: 4 kB / 1.381 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5478, allocations: 3.938 kB / 1.381 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5482, allocations: 231.4 kB / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.5482, allocations: 81.02 kB / 1.382 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.5483, allocations: 4 kB / 1.382 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5484, allocations: 19.94 kB / 1.382 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.5484, allocations: 7.984 kB / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.5484, allocations: 4 kB / 1.382 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.5485, allocations: 104.8 kB / 1.382 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5485, allocations: 0 / 1.382 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002312/0.5488, allocations: 15.94 kB / 1.382 GB, free: 8.727 MB / 0.8855 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.0006776/0.5494, allocations: 0.7834 MB / 1.382 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.5497, allocations: 116 kB / 1.383 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5497, allocations: 0 / 1.383 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.5499, allocations: 59.91 kB / 1.383 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.55, allocations: 12.75 kB / 1.383 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.5514, allocations: 0.7186 MB / 1.383 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.5518, allocations: 0.7067 MB / 1.384 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.012e-05/0.5519, allocations: 11.98 kB / 1.384 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.5519, allocations: 31.36 kB / 1.384 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.552, allocations: 0 / 1.384 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.5642, allocations: 1.678 MB / 1.386 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.5644, allocations: 177.2 kB / 1.386 GB, free: 4.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.14, allocations: 0 / 1.386 GB, free: 4.41 MB / 0.8855 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