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.001387/0.001387, allocations: 92.7 kB / 19.44 MB, free: 320 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.001648/0.001648, allocations: 165.3 kB / 22.76 MB, free: 1.645 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.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.208/3.208, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.673e-06/1.673e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.811e-05, allocations: 3.906 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003119/0.003147, allocations: 1.61 MB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004587, allocations: 0.5676 MB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.004668, allocations: 3.938 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.00478, allocations: 15.86 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.004826, allocations: 12.69 kB / 0.8798 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.00514, allocations: 67.23 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.005308, allocations: 91.62 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.005434, allocations: 27.98 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.00563, allocations: 59.81 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.005711, allocations: 31.89 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.005732, allocations: 8 kB / 0.88 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.005812, allocations: 19.98 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.005853, allocations: 15.92 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.00591, allocations: 32.5 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.006108, allocations: 91.69 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00611, allocations: 1.25 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006111, allocations: 0 / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006116, allocations: 4 kB / 0.8802 GB, free: 3.852 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.0006265/0.006742, allocations: 339.2 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006781, allocations: 12.03 kB / 0.8805 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.007122, allocations: 46 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.007394, allocations: 146.7 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.007411, allocations: 8.375 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.007427, allocations: 8.375 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.007736, allocations: 106.2 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.00775, allocations: 3.938 kB / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.007763, allocations: 0 / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.007771, allocations: 4 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.008037, allocations: 99.88 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.008703, allocations: 316.2 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.008878, allocations: 54.55 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.009012, allocations: 44.95 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.009051, allocations: 4 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.009091, allocations: 38.56 kB / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.009093, allocations: 0 / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000566/0.009659, allocations: 173.5 kB / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.009706, allocations: 55.41 kB / 0.8816 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.009851, allocations: 139.8 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.009876, allocations: 25.7 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.009965, allocations: 116.1 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.009993, allocations: 15.8 kB / 0.8819 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.01005, allocations: 25.7 kB / 0.8819 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.01022, allocations: 318.8 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.01036, allocations: 39.97 kB / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01048, allocations: 43.97 kB / 0.8823 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.01073, allocations: 88.8 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01073, allocations: 0 / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003373/0.01107, allocations: 129.5 kB / 0.8825 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01108, allocations: 4 kB / 0.8825 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.01109, allocations: 4 kB / 0.8825 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01111, allocations: 4 kB / 0.8825 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.01124, allocations: 15.98 kB / 0.8825 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.01126, allocations: 7.922 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.01134, allocations: 4 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.01136, allocations: 4 kB / 0.8825 GB, free: 1.289 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 0.0001166/0.01148, allocations: 121.8 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.01152, allocations: 15.95 kB / 0.8827 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.01192, allocations: 142.8 kB / 0.8828 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01193, allocations: 4 kB / 0.8828 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01194, allocations: 4 kB / 0.8828 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.01194, allocations: 7.984 kB / 0.8828 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.01215, allocations: 141.2 kB / 0.8829 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01215, allocations: 4 kB / 0.8829 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.01228, allocations: 15.98 kB / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01228, allocations: 0 / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.0123, allocations: 3.984 kB / 0.883 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.0123, allocations: 4 kB / 0.883 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0123, allocations: 0 / 0.883 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.01269, allocations: 231.3 kB / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.01271, allocations: 7.953 kB / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.01272, allocations: 0 / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01283, allocations: 8 kB / 0.8832 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.01289, allocations: 7.969 kB / 0.8832 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.01291, allocations: 15.92 kB / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.013, allocations: 104.4 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.013, allocations: 4 kB / 0.8833 GB, free: 408 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002716/0.01327, allocations: 15.94 kB / 0.8833 GB, free: 392 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 0.000166/0.01344, allocations: 103.2 kB / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.01375, allocations: 95.88 kB / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01375, allocations: 0 / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01389, allocations: 51.97 kB / 0.8836 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.01414, allocations: 12 kB / 0.8836 GB, free: 120 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.01467, allocations: 233 kB / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01478, allocations: 84.31 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.279e-05/0.01484, allocations: 11.98 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.01488, allocations: 16.48 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01488, allocations: 4 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.003616/0.0185, allocations: 0.7295 MB / 0.8846 GB, free: 15.02 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.022606685990468]