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.0009364/0.0009364, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001171/0.001171, allocations: 181 kB / 23.36 MB, free: 1.133 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.384/2.384, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.722e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001876/0.001894, allocations: 1.642 MB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.00264, allocations: 0.5997 MB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.002693, allocations: 7.938 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.002778, allocations: 7.875 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.002809, allocations: 19.84 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.003039, allocations: 59.8 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003144, allocations: 87.7 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.003237, allocations: 31.91 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.003364, allocations: 63.81 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.003429, allocations: 27.91 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.003446, allocations: 8 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.003505, allocations: 23.97 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.003541, allocations: 19.92 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.003568, allocations: 19.92 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.003699, allocations: 91.59 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.0037, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003701, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003704, allocations: 4 kB / 0.8412 GB, free: 11.45 MB / 0.8073 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.0004231/0.004127, allocations: 304.4 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.00416, allocations: 8.031 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.00432, allocations: 36.91 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.004463, allocations: 143.7 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.004472, allocations: 8.312 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.004483, allocations: 4.375 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.00461, allocations: 97.61 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004619, allocations: 7.938 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.004628, allocations: 4 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.004634, allocations: 0 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.004668, allocations: 19.98 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.004937, allocations: 225.7 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.004988, allocations: 66.48 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.005011, allocations: 12.84 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.005038, allocations: 4 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.005059, allocations: 46.67 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.00506, allocations: 0 / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001254/0.005185, allocations: 65.8 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.005213, allocations: 51.41 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.005288, allocations: 140.5 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.0053, allocations: 25.7 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.005334, allocations: 100.1 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.005357, allocations: 19.94 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.005387, allocations: 21.69 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.005465, allocations: 326.8 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.005481, allocations: 6.828 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.005495, allocations: 12 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.005539, allocations: 38.48 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005541, allocations: 0 / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.87e-05/0.0056, allocations: 53.62 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.005608, allocations: 4 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005612, allocations: 0 / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005621, allocations: 0 / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.005688, allocations: 15.98 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.00569, allocations: 0 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.005716, allocations: 11.92 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.005731, allocations: 11.98 kB / 0.843 GB, free: 9.43 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 4.88e-05/0.00578, allocations: 112.7 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.005796, allocations: 7.984 kB / 0.8432 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/0.005894, allocations: 74.38 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.005895, allocations: 3.938 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.005898, allocations: 4 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.0059, allocations: 0 / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.369e-05/0.005994, allocations: 102 kB / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005995, allocations: 0 / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.00603, allocations: 15.98 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.006031, allocations: 8 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-06/0.006036, allocations: 0 / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.006036, allocations: 0 / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.006039, allocations: 3.984 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.00613, allocations: 202.2 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.006139, allocations: 15.88 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.006154, allocations: 0 / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.006193, allocations: 4 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.006221, allocations: 3.984 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.006227, allocations: 8 kB / 0.8436 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.018e-05/0.006247, allocations: 25.77 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006247, allocations: 4 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001307/0.006378, allocations: 23.92 kB / 0.8436 GB, free: 8.773 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 8.498e-05/0.006463, allocations: 76.42 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.833e-05/0.006531, allocations: 36.78 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.006533, allocations: 0 / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.006557, allocations: 24.83 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.006664, allocations: 13.58 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.007045, allocations: 214.1 kB / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.007078, allocations: 67.33 kB / 0.844 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.007103, allocations: 4 kB / 0.8441 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.007148, allocations: 55.38 kB / 0.8441 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.007149, allocations: 0 / 0.8441 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.002241/0.00939, allocations: 0.6967 MB / 0.8448 GB, free: 7.539 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.236366276163608]