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.0008928/0.0008928, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009315/0.0009315, allocations: 169 kB / 23.02 MB, free: 1.547 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.9298/0.9298, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.012/2.012, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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.793e-06/1.793e-06, allocations: 0 / 0.8782 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.756e-05, allocations: 4.156 kB / 0.8782 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00273/0.002758, allocations: 1.652 MB / 0.8798 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.00375, allocations: 0.5956 MB / 0.8804 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.003828, allocations: 3.938 kB / 0.8804 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.003948, allocations: 11.81 kB / 0.8804 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.003994, allocations: 20.94 kB / 0.8804 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.004342, allocations: 60.45 kB / 0.8805 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004493, allocations: 92.3 kB / 0.8805 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.004639, allocations: 27.95 kB / 0.8806 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.004808, allocations: 59.61 kB / 0.8806 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.004884, allocations: 31.89 kB / 0.8807 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.004906, allocations: 8 kB / 0.8807 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.004982, allocations: 23.92 kB / 0.8807 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.005024, allocations: 23.91 kB / 0.8807 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.005065, allocations: 23.92 kB / 0.8807 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.005225, allocations: 83.59 kB / 0.8808 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005228, allocations: 0 / 0.8808 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.223e-06/0.005229, allocations: 0 / 0.8808 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.005233, allocations: 0 / 0.8808 GB, free: 2.484 MB / 0.7917 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.0004829/0.005716, allocations: 433.8 kB / 0.8812 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.005757, allocations: 8.031 kB / 0.8812 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.005983, allocations: 41.84 kB / 0.8813 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006181, allocations: 159.2 kB / 0.8814 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.006194, allocations: 5.438 kB / 0.8814 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.006214, allocations: 8.375 kB / 0.8814 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.006408, allocations: 87.98 kB / 0.8815 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006418, allocations: 3.938 kB / 0.8815 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.006432, allocations: 4 kB / 0.8815 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.006441, allocations: 9.062 kB / 0.8815 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.006506, allocations: 23.22 kB / 0.8816 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.007254, allocations: 344.4 kB / 0.8819 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.007324, allocations: 35.06 kB / 0.8819 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.007368, allocations: 28.45 kB / 0.882 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.007405, allocations: 0 / 0.882 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.00743, allocations: 39.05 kB / 0.882 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.007431, allocations: 0 / 0.882 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.000232/0.007663, allocations: 77.62 kB / 0.8821 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.007695, allocations: 51.41 kB / 0.8821 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007814, allocations: 198.3 kB / 0.8823 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.007828, allocations: 27.55 kB / 0.8823 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.007891, allocations: 158.8 kB / 0.8825 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.007917, allocations: 19.89 kB / 0.8825 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.007957, allocations: 23.38 kB / 0.8825 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008086, allocations: 0.4923 MB / 0.883 GB, free: 64 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.008121, allocations: 16.45 kB / 0.883 GB, free: 48 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.008151, allocations: 4.375 kB / 0.883 GB, free: 44 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.925e-05/0.00822, allocations: 40.69 kB / 0.8831 GB, free: 0 / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.008222, allocations: 0 / 0.8831 GB, free: 0 / 0.7917 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/0.008361, allocations: 75.17 kB / 0.8831 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008375, allocations: 8 kB / 0.8831 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.00838, allocations: 0 / 0.8831 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.008392, allocations: 0 / 0.8831 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.008497, allocations: 19.92 kB / 0.8832 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.008503, allocations: 6.531 kB / 0.8832 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.008543, allocations: 7.938 kB / 0.8832 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.008563, allocations: 3.984 kB / 0.8832 GB, free: 15.88 MB / 0.8073 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 7.518e-05/0.008638, allocations: 160.6 kB / 0.8833 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.00867, allocations: 7.953 kB / 0.8833 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.008847, allocations: 86.42 kB / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00885, allocations: 1.938 kB / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.008855, allocations: 3.938 kB / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.008858, allocations: 0 / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.009015, allocations: 148.6 kB / 0.8836 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009016, allocations: 0 / 0.8836 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.009085, allocations: 31.86 kB / 0.8836 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.009088, allocations: 0 / 0.8836 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.009098, allocations: 4.109 kB / 0.8836 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.009101, allocations: 4 kB / 0.8836 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009103, allocations: 0 / 0.8836 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.009273, allocations: 223.8 kB / 0.8838 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.009284, allocations: 7.938 kB / 0.8838 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.009301, allocations: 4 kB / 0.8838 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.009366, allocations: 4 kB / 0.8838 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.009416, allocations: 7.984 kB / 0.8838 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.009426, allocations: 11.94 kB / 0.8839 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.009487, allocations: 145.2 kB / 0.884 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009487, allocations: 0 / 0.884 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002528/0.00974, allocations: 27.88 kB / 0.884 GB, free: 14.95 MB / 0.8073 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 0.0001128/0.009853, allocations: 91.25 kB / 0.8841 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.009979, allocations: 39.67 kB / 0.8841 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009981, allocations: 0 / 0.8841 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.01003, allocations: 31.61 kB / 0.8842 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01026, allocations: 8 kB / 0.8842 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.01085, allocations: 210.7 kB / 0.8844 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.711e-05/0.0109, allocations: 67.34 kB / 0.8844 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.01095, allocations: 11.98 kB / 0.8845 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.01099, allocations: 12.5 kB / 0.8845 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.01099, allocations: 0 / 0.8845 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of Templates: time 0.003091/0.01408, allocations: 0.7719 MB / 0.8852 GB, free: 13.66 MB / 0.8073 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.156419171020389]