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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.002057/0.002057, allocations: 176.8 kB / 498.1 MB, free: 5.742 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.543/1.543, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.0008745/0.0008744, allocations: 100.1 kB / 0.9346 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8.031 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3618, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.5662, allocations: 150 MB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5665, allocations: 83.89 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005337/0.5718, allocations: 1.752 MB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5719, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5719, allocations: 0 / 1.371 GB, free: 10.17 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.0005702/0.5725, allocations: 398.9 kB / 1.372 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.5725, allocations: 12.03 kB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.5726, allocations: 11.86 kB / 1.372 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5728, allocations: 195.5 kB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.5729, allocations: 12 kB / 1.372 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.5729, allocations: 4 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.5732, allocations: 117.5 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5732, allocations: 0 / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.5732, allocations: 4 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5733, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.5735, allocations: 99.94 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.5742, allocations: 388.5 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.5743, allocations: 62.5 kB / 1.372 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.5744, allocations: 12.11 kB / 1.372 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.5744, allocations: 38.55 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5744, allocations: 0 / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0005035/0.5749, allocations: 181.4 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.575, allocations: 51.41 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5751, allocations: 127.6 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5751, allocations: 25.7 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.5752, allocations: 112.2 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.5752, allocations: 15.81 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.5753, allocations: 0 / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5754, allocations: 326.8 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.5755, allocations: 39.97 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.5756, allocations: 43.97 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.5757, allocations: 43.97 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5758, allocations: 4 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002636/0.576, allocations: 133.5 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5761, allocations: 11.95 kB / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5761, allocations: 0 / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5761, allocations: 0 / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.5762, allocations: 27.97 kB / 1.374 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5762, allocations: 0 / 1.374 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.5763, allocations: 8.438 kB / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.5764, allocations: 11.98 kB / 1.374 GB, free: 7.492 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 0.0001005/0.5765, allocations: 119.5 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5765, allocations: 7.906 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.5769, allocations: 174.1 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5769, allocations: 0 / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5769, allocations: 0 / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5769, allocations: 3.984 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.5772, allocations: 197.6 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5772, allocations: 0 / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.5773, allocations: 27.97 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5773, allocations: 0 / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5773, allocations: 4 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5773, allocations: 7.953 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5773, allocations: 0 / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.5777, allocations: 231.3 kB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.5777, allocations: 85.02 kB / 1.374 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.5778, allocations: 4 kB / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.5779, allocations: 11.98 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.5779, allocations: 11.94 kB / 1.374 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5779, allocations: 7.938 kB / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.578, allocations: 100.5 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.578, allocations: 0 / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002172/0.5782, allocations: 16 kB / 1.375 GB, free: 6.402 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.0001705/0.5784, allocations: 118.9 kB / 1.375 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.5787, allocations: 103.9 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5787, allocations: 4 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.5788, allocations: 59.91 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.579, allocations: 4 kB / 1.375 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.5795, allocations: 241.8 kB / 1.375 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5798, allocations: 0.7043 MB / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.5799, allocations: 15.98 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.5799, allocations: 15.44 kB / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.58, allocations: 4 kB / 1.376 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of Templates: time 0.00262/0.5826, allocations: 0.5865 MB / 1.376 GB, free: 4.496 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches