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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001961/0.001961, allocations: 67.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8329, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002307/0.8352, allocations: 1.607 MB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007011/0.8359, allocations: 0.5165 MB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.836, allocations: 7.875 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.8361, allocations: 10.47 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.8361, allocations: 11.16 kB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.8363, allocations: 46.14 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.8364, allocations: 75.3 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.8365, allocations: 30.94 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.8366, allocations: 47.11 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.8367, allocations: 40.81 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.8367, allocations: 5.938 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/0.8367, allocations: 8.906 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.8368, allocations: 21.45 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.8368, allocations: 41.78 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.8369, allocations: 97.03 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8369, allocations: 0 / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8369, allocations: 3.375 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.837, allocations: 0 / 1.308 GB, free: 31.74 MB / 1.061 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.0004472/0.8374, allocations: 410.7 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.8374, allocations: 8.406 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.8375, allocations: 14.59 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.8376, allocations: 192.1 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.8376, allocations: 3.219 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.8376, allocations: 6.969 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.8378, allocations: 117 kB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8379, allocations: 0 / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8379, allocations: 8 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.8379, allocations: 2.781 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.8381, allocations: 89.86 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.8385, allocations: 379.3 kB / 1.309 GB, free: 30.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.8387, allocations: 55.73 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.8388, allocations: 50.59 kB / 1.309 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.8388, allocations: 6.953 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.8388, allocations: 33.41 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.8388, allocations: 0 / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003922/0.8392, allocations: 173.5 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.8392, allocations: 51.41 kB / 1.309 GB, free: 30.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.8393, allocations: 137.9 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.8393, allocations: 25.7 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.8393, allocations: 109.6 kB / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.8394, allocations: 18.7 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.8394, allocations: 22.45 kB / 1.31 GB, free: 30.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.8394, allocations: 325 kB / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.8395, allocations: 38.14 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.8396, allocations: 49.22 kB / 1.31 GB, free: 29.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.8398, allocations: 85.75 kB / 1.31 GB, free: 29.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8398, allocations: 0 / 1.31 GB, free: 29.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002333/0.84, allocations: 131.2 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.84, allocations: 8.188 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.84, allocations: 0 / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.8401, allocations: 0 / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.8402, allocations: 21.36 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8402, allocations: 3.281 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.8403, allocations: 6.156 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.8403, allocations: 10.44 kB / 1.31 GB, free: 29.77 MB / 1.061 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.794e-05/0.8403, allocations: 119.8 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.8404, allocations: 6.984 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.8407, allocations: 141.7 kB / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8407, allocations: 6.906 kB / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8407, allocations: 0 / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8407, allocations: 0 / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.8408, allocations: 205.6 kB / 1.311 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8408, allocations: 2.875 kB / 1.311 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.8409, allocations: 18.16 kB / 1.311 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8409, allocations: 4.234 kB / 1.311 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8409, allocations: 2.844 kB / 1.311 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.841, allocations: 7.938 kB / 1.311 GB, free: 29.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.841, allocations: 0 / 1.311 GB, free: 29.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.8412, allocations: 234.2 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.8413, allocations: 87.75 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.8413, allocations: 0 / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.8414, allocations: 13.31 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.8414, allocations: 6.469 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.8414, allocations: 7.062 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.8415, allocations: 94.3 kB / 1.311 GB, free: 28.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8415, allocations: 0 / 1.311 GB, free: 28.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002413/0.8417, allocations: 22.38 kB / 1.311 GB, free: 28.98 MB / 1.061 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.0001371/0.8419, allocations: 102.8 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.8421, allocations: 98.75 kB / 1.312 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8421, allocations: 3.938 kB / 1.312 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8422, allocations: 50.03 kB / 1.312 GB, free: 28.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.8425, allocations: 4 kB / 1.312 GB, free: 28.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.8429, allocations: 238.6 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.843, allocations: 0.7045 MB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.8431, allocations: 15.02 kB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.8431, allocations: 10.38 kB / 1.313 GB, free: 27.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.8431, allocations: 0 / 1.313 GB, free: 27.98 MB / 1.061 GB Notification: Performance of Templates: time 0.003224/0.8464, allocations: 0.7411 MB / 1.313 GB, free: 27.88 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] 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.977454646490514]