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.002361/0.002361, allocations: 93.47 kB / 19.44 MB, free: 336 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.002796/0.002796, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.398/3.398, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.773e-06/1.773e-06, allocations: 0 / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.896e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003065/0.003094, allocations: 1.637 MB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004236, allocations: 0.574 MB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.004297, allocations: 3.938 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.004402, allocations: 7.922 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.004452, allocations: 23.73 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.004735, allocations: 59.8 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004889, allocations: 87.7 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.005029, allocations: 27.95 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.005198, allocations: 59.88 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.005272, allocations: 28.84 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.005298, allocations: 8 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.005371, allocations: 20.97 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.005424, allocations: 27.84 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.00547, allocations: 23.92 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.005673, allocations: 104.7 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005677, allocations: 0 / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005678, allocations: 0 / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.005683, allocations: 1.062 kB / 0.8801 GB, free: 3.965 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.000723/0.006406, allocations: 439.8 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.006442, allocations: 9.062 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.006728, allocations: 37.48 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.006979, allocations: 167.4 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.006993, allocations: 4.375 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.007011, allocations: 9.75 kB / 0.8807 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.00723, allocations: 74.2 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.007242, allocations: 3.938 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.007255, allocations: 8.781 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.007259, allocations: 0 / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.007437, allocations: 52.53 kB / 0.8808 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.00809, allocations: 352.6 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.008228, allocations: 47.7 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.008322, allocations: 32.45 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.008363, allocations: 9 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.008401, allocations: 37.39 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.008402, allocations: 0 / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004131/0.008815, allocations: 125.1 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.008874, allocations: 51.41 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.009058, allocations: 211.9 kB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.00908, allocations: 25.7 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.009183, allocations: 158.9 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.00922, allocations: 23.78 kB / 0.8819 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.009271, allocations: 23.38 kB / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002603/0.009531, allocations: 0.5001 MB / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.009621, allocations: 20.77 kB / 0.8824 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.009696, allocations: 28.52 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.009875, allocations: 57.25 kB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.009882, allocations: 4 kB / 0.8825 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002346/0.01012, allocations: 91.06 kB / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01013, allocations: 8 kB / 0.8826 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01013, allocations: 0 / 0.8826 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01015, allocations: 3.938 kB / 0.8826 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01027, allocations: 19.98 kB / 0.8826 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.01028, allocations: 11.86 kB / 0.8826 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.01034, allocations: 4 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.01036, allocations: 4 kB / 0.8826 GB, free: 1.168 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.0001246/0.01048, allocations: 160.6 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.01052, allocations: 7.953 kB / 0.8828 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.01085, allocations: 110.4 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01085, allocations: 0 / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01086, allocations: 7.938 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01086, allocations: 4 kB / 0.8829 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01107, allocations: 156.5 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01107, allocations: 0 / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.01117, allocations: 19.92 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01117, allocations: 0 / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.01118, allocations: 0 / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01118, allocations: 0 / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01118, allocations: 4 kB / 0.8831 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.01152, allocations: 247.9 kB / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.01153, allocations: 8.016 kB / 0.8833 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01156, allocations: 8 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.01166, allocations: 3.984 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.01172, allocations: 11.98 kB / 0.8833 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.01174, allocations: 7.938 kB / 0.8833 GB, free: 360 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001089/0.01185, allocations: 147.9 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01185, allocations: 0 / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002461/0.01209, allocations: 27.92 kB / 0.8835 GB, free: 184 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.0001646/0.01226, allocations: 95.19 kB / 0.8836 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.01249, allocations: 67.66 kB / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01249, allocations: 0 / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.01264, allocations: 43.59 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01286, allocations: 8 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.01335, allocations: 210.6 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01345, allocations: 92.3 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.943e-05/0.01351, allocations: 15.98 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.01355, allocations: 16.44 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01356, allocations: 0 / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of Templates: time 0.003724/0.01728, allocations: 0.7231 MB / 0.8847 GB, free: 14.87 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=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","/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.568863385007717]