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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9845/0.9845, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.646e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.0017/0.001716, allocations: 1.655 MB / 0.8798 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.002383, allocations: 0.5903 MB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.002442, allocations: 5.031 kB / 0.8804 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.898e-05/0.002531, allocations: 7.875 kB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.002561, allocations: 23.25 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.002807, allocations: 63.73 kB / 0.8805 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.002918, allocations: 87.7 kB / 0.8806 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003033, allocations: 23.97 kB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.003154, allocations: 59.83 kB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.003209, allocations: 31.89 kB / 0.8807 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.003225, allocations: 8 kB / 0.8807 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.003281, allocations: 16.58 kB / 0.8807 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.003313, allocations: 27.91 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.003345, allocations: 21.39 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003467, allocations: 87.59 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003469, allocations: 0 / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003469, allocations: 0 / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003473, allocations: 1.531 kB / 0.8808 GB, free: 3.969 MB / 0.8386 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.0003667/0.00384, allocations: 428.2 kB / 0.8812 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.003872, allocations: 8.031 kB / 0.8812 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.004046, allocations: 44.81 kB / 0.8813 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.0042, allocations: 166.9 kB / 0.8814 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.00421, allocations: 4.375 kB / 0.8815 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004221, allocations: 8.375 kB / 0.8815 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.004358, allocations: 86.84 kB / 0.8815 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004366, allocations: 3.938 kB / 0.8815 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004376, allocations: 4 kB / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.004383, allocations: 0 / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.004437, allocations: 27.98 kB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.004777, allocations: 339.6 kB / 0.8819 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.004826, allocations: 31.06 kB / 0.8819 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.004868, allocations: 27.73 kB / 0.882 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.004897, allocations: 4 kB / 0.882 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.004917, allocations: 37.39 kB / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.004918, allocations: 0 / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001761/0.005094, allocations: 81.58 kB / 0.8821 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.00512, allocations: 51.41 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.005206, allocations: 204.1 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005217, allocations: 25.7 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.005264, allocations: 154.9 kB / 0.8825 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.005287, allocations: 27.78 kB / 0.8825 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.005316, allocations: 23.38 kB / 0.8825 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.005412, allocations: 0.4923 MB / 0.883 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.005437, allocations: 15.92 kB / 0.883 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.005457, allocations: 4 kB / 0.883 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.00551, allocations: 40.05 kB / 0.8831 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.005512, allocations: 0 / 0.8831 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.223e-05/0.005594, allocations: 69.64 kB / 0.8831 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.005605, allocations: 8 kB / 0.8832 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.005608, allocations: 0 / 0.8832 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005618, allocations: 4 kB / 0.8832 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.00569, allocations: 15.92 kB / 0.8832 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005694, allocations: 7.938 kB / 0.8832 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.005719, allocations: 4 kB / 0.8832 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.005734, allocations: 3.984 kB / 0.8832 GB, free: 1.352 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/0.005795, allocations: 160.6 kB / 0.8833 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.005814, allocations: 7.953 kB / 0.8833 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.005941, allocations: 90.38 kB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005943, allocations: 0 / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005947, allocations: 3.938 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005949, allocations: 0 / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.006056, allocations: 152.5 kB / 0.8836 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006056, allocations: 0 / 0.8836 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.006097, allocations: 19.92 kB / 0.8836 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.006099, allocations: 4 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.006107, allocations: 3.984 kB / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006107, allocations: 0 / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006108, allocations: 0 / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.006222, allocations: 224 kB / 0.8838 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.006233, allocations: 15.88 kB / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.006245, allocations: 3.984 kB / 0.8838 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.006285, allocations: 4 kB / 0.8838 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.006324, allocations: 11.98 kB / 0.8839 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.006331, allocations: 7.938 kB / 0.8839 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.006378, allocations: 143.2 kB / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006378, allocations: 3.938 kB / 0.884 GB, free: 448 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001619/0.00654, allocations: 20 kB / 0.884 GB, free: 428 kB / 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.625e-05/0.006626, allocations: 95.25 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.006721, allocations: 39.67 kB / 0.8842 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006722, allocations: 0 / 0.8842 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.006757, allocations: 27.61 kB / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.006912, allocations: 8 kB / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.007375, allocations: 214.6 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.00741, allocations: 67.3 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.007445, allocations: 11.98 kB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.007473, allocations: 12.5 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.007473, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.002436/0.00991, allocations: 0.7291 MB / 0.8852 GB, free: 15.17 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.24856203305535]