Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001817/0.001817, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002186/0.002186, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.461/1.461, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.675/2.675, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.671e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003077/0.003104, allocations: 1.592 MB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004238, allocations: 0.5772 MB / 0.9531 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.004307, allocations: 3.938 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.004407, allocations: 11.86 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.004451, allocations: 15.81 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.004759, allocations: 67.8 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.00492, allocations: 91.67 kB / 0.9533 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.005045, allocations: 23.98 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.005206, allocations: 55.88 kB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.005284, allocations: 35.89 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.005309, allocations: 8 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.005379, allocations: 19.92 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.00542, allocations: 15.94 kB / 0.9534 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.005471, allocations: 39.78 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.005644, allocations: 99.67 kB / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005646, allocations: 0 / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005647, allocations: 0 / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.005656, allocations: 0 / 0.9536 GB, free: 8.883 MB / 0.8575 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.0005691/0.006225, allocations: 337.7 kB / 0.9539 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.00626, allocations: 8.031 kB / 0.9539 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.006574, allocations: 40.81 kB / 0.9539 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.006865, allocations: 154.1 kB / 0.9541 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.006878, allocations: 4.375 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.006905, allocations: 8.375 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.007165, allocations: 104.6 kB / 0.9542 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.007178, allocations: 7.938 kB / 0.9542 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.007192, allocations: 4 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.007196, allocations: 0 / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.007448, allocations: 95.92 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.008038, allocations: 316.2 kB / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.008203, allocations: 54.55 kB / 0.9547 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.008326, allocations: 40.95 kB / 0.9547 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.008363, allocations: 4 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.008398, allocations: 38.5 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.008399, allocations: 4 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004928/0.008892, allocations: 169.5 kB / 0.9549 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.008939, allocations: 51.41 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.00908, allocations: 143.6 kB / 0.9551 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.0091, allocations: 25.7 kB / 0.9551 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.009182, allocations: 108.2 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.009215, allocations: 23.84 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.009257, allocations: 13.72 kB / 0.9552 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.009406, allocations: 322.8 kB / 0.9556 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.009532, allocations: 39.97 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.009645, allocations: 43.97 kB / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.009886, allocations: 92.73 kB / 0.9557 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009888, allocations: 0 / 0.9557 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003037/0.01019, allocations: 121.6 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01021, allocations: 15.98 kB / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01021, allocations: 0 / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01023, allocations: 0 / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01036, allocations: 19.92 kB / 0.9559 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01037, allocations: 4.375 kB / 0.9559 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.01045, allocations: 15.92 kB / 0.9559 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.01047, allocations: 0 / 0.9559 GB, free: 6.332 MB / 0.8575 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.000111/0.01058, allocations: 128.1 kB / 0.956 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.01062, allocations: 7.953 kB / 0.956 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.01099, allocations: 154.4 kB / 0.9562 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01099, allocations: 4 kB / 0.9562 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.011, allocations: 3.938 kB / 0.9562 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.011, allocations: 0 / 0.9562 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.0112, allocations: 145.2 kB / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.0112, allocations: 0 / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.01131, allocations: 19.97 kB / 0.9563 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01131, allocations: 0 / 0.9563 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01132, allocations: 4 kB / 0.9563 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01132, allocations: 3.938 kB / 0.9563 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01132, allocations: 0 / 0.9563 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.01169, allocations: 223.4 kB / 0.9566 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.0117, allocations: 7.953 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01172, allocations: 0 / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01183, allocations: 11.98 kB / 0.9566 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01188, allocations: 7.984 kB / 0.9566 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01189, allocations: 11.94 kB / 0.9566 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.01198, allocations: 105 kB / 0.9567 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01198, allocations: 0 / 0.9567 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002439/0.01222, allocations: 19.98 kB / 0.9567 GB, free: 5.434 MB / 0.8575 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.0001551/0.01238, allocations: 103.2 kB / 0.9568 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.01268, allocations: 95.88 kB / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01268, allocations: 0 / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01281, allocations: 55.95 kB / 0.957 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01303, allocations: 4 kB / 0.957 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.0135, allocations: 229.9 kB / 0.9572 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.01359, allocations: 88.31 kB / 0.9573 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.691e-05/0.01365, allocations: 15.98 kB / 0.9573 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.01369, allocations: 20.48 kB / 0.9573 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.01369, allocations: 3.938 kB / 0.9573 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Templates: time 0.003449/0.01714, allocations: 0.6882 MB / 0.958 GB, free: 4.098 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.745925970375538]