Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000883/0.000883, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009872/0.0009872, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.861/1.861, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.863e-05, allocations: 7.844 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00301/0.003038, allocations: 1.64 MB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004274, allocations: 0.5822 MB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.004357, allocations: 3.938 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.004491, allocations: 17.77 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.004538, allocations: 11.88 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.004944, allocations: 63.8 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005123, allocations: 92.97 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.005272, allocations: 23.98 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.005478, allocations: 63.81 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.488e-05/0.005563, allocations: 33.48 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.005589, allocations: 8 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.005678, allocations: 23.92 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.005721, allocations: 15.92 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.005769, allocations: 32.62 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.005952, allocations: 79.61 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005954, allocations: 0.5312 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005955, allocations: 1.531 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.00596, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 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.0005354/0.006495, allocations: 428.2 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.006545, allocations: 12.03 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.006854, allocations: 38.67 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.007091, allocations: 150.7 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.007108, allocations: 9.531 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.007127, allocations: 4.375 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.00735, allocations: 86.91 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.007365, allocations: 9.25 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.007379, allocations: 4 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.007392, allocations: 7.938 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.007478, allocations: 19.98 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.008031, allocations: 352.9 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.008113, allocations: 43.05 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.008161, allocations: 17.69 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.008206, allocations: 4.125 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.008232, allocations: 37.39 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.008234, allocations: 0 / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002638/0.008497, allocations: 81.56 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.00853, allocations: 53.75 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.00866, allocations: 204.3 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.008675, allocations: 25.7 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.008743, allocations: 158.9 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.008774, allocations: 15.86 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.008822, allocations: 27.36 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.008963, allocations: 0.4928 MB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.009005, allocations: 8 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.009036, allocations: 8.531 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.00912, allocations: 37.61 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009123, allocations: 0 / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001387/0.009262, allocations: 65.58 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.009277, allocations: 8 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.009282, allocations: 0 / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.009297, allocations: 2.094 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.00942, allocations: 19.98 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.009427, allocations: 3.938 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.009475, allocations: 15.88 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.009497, allocations: 7.984 kB / 0.8165 GB, free: 12.43 MB / 0.7761 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 8.07e-05/0.009578, allocations: 153.1 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.009615, allocations: 12.48 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.00982, allocations: 86.88 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.009824, allocations: 4.938 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.009832, allocations: 7.922 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.009837, allocations: 0.75 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.01003, allocations: 144.6 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01003, allocations: 1.094 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.01012, allocations: 19.92 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01012, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01013, allocations: 0.8438 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.01014, allocations: 3.984 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01014, allocations: 1.469 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01036, allocations: 231.8 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.01038, allocations: 3.953 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01039, allocations: 4 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.01048, allocations: 5.062 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.01054, allocations: 3.984 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.01056, allocations: 16.86 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.01063, allocations: 141.4 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01063, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002621/0.01089, allocations: 25.02 kB / 0.8174 GB, free: 11.52 MB / 0.7761 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.0001274/0.01102, allocations: 103.2 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01116, allocations: 44.67 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01116, allocations: 0 / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.0112, allocations: 20.78 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01145, allocations: 11.98 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.01213, allocations: 211.5 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.383e-05/0.01218, allocations: 67.03 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.01223, allocations: 12.3 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.01228, allocations: 21.05 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.01228, allocations: 0 / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.002659/0.01494, allocations: 0.7199 MB / 0.8185 GB, free: 10.29 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.215779518242925]