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.001014/0.001014, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001689/0.001689, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9474/0.9474, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.804/1.804, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.163e-06/1.163e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.752e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001881/0.001898, allocations: 1.657 MB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.002675, allocations: 0.5823 MB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.002738, allocations: 3.938 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.002842, allocations: 16.58 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002879, allocations: 16.92 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.003159, allocations: 63.8 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003275, allocations: 88.67 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.0034, allocations: 31.95 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.003526, allocations: 60.61 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.003585, allocations: 31.89 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003603, allocations: 9.688 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.003662, allocations: 16 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.003694, allocations: 23.84 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.003727, allocations: 27.92 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003851, allocations: 83.64 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003853, allocations: 1.531 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003853, allocations: 0 / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003857, allocations: 0 / 0.8142 GB, free: 15.01 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.0003853/0.004243, allocations: 425.8 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004276, allocations: 8.031 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.00444, allocations: 44.81 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.004595, allocations: 154.6 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004607, allocations: 8.375 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.004616, allocations: 4.375 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.004755, allocations: 87.36 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.004763, allocations: 8.469 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.004774, allocations: 4 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.004782, allocations: 4.781 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.00483, allocations: 19.98 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.005187, allocations: 340.7 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.005244, allocations: 42.98 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.005275, allocations: 21.06 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.005311, allocations: 4.125 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.005331, allocations: 41.38 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.005332, allocations: 1.75 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001765/0.005508, allocations: 73.64 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.005537, allocations: 51.41 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.005624, allocations: 203.7 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005635, allocations: 29.64 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.005684, allocations: 155.4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.005707, allocations: 24.8 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.005736, allocations: 23.36 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.005839, allocations: 0.4923 MB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.005863, allocations: 12.5 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.005883, allocations: 8.516 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.005931, allocations: 37.47 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005934, allocations: 0 / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.69e-05/0.00602, allocations: 65.64 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006033, allocations: 8 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006038, allocations: 6.578 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.006049, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.006125, allocations: 23.92 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.00613, allocations: 3.938 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.006156, allocations: 7.953 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.006171, allocations: 0 / 0.8165 GB, free: 12.41 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 5.792e-05/0.006229, allocations: 157.1 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.006247, allocations: 12.67 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.006379, allocations: 86.42 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006381, allocations: 0.5312 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006385, allocations: 3.938 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006387, allocations: 4.438 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.006494, allocations: 153.7 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006495, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.006534, allocations: 15.98 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006536, allocations: 0.9062 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.006544, allocations: 0 / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006545, allocations: 0.8438 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006546, allocations: 0 / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.006665, allocations: 228 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006674, allocations: 14.06 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.006687, allocations: 8 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.006726, allocations: 3.984 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.006764, allocations: 11.92 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.006773, allocations: 15.92 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.00682, allocations: 144 kB / 0.8174 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00682, allocations: 0 / 0.8174 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000152/0.006972, allocations: 16 kB / 0.8174 GB, free: 11.49 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 9.03e-05/0.007062, allocations: 103.2 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.007155, allocations: 35.67 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.007156, allocations: 4 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.007187, allocations: 29.08 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.007331, allocations: 8 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.007776, allocations: 207.7 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.007812, allocations: 67.33 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.007846, allocations: 13.08 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.007874, allocations: 17.22 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.007874, allocations: 0 / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.002288/0.01016, allocations: 0.7588 MB / 0.8186 GB, free: 10.23 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: 4.895722615998238]