Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 113.9 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 183.9 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.84 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003629/1.036, allocations: 1.601 MB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001138/1.037, allocations: 0.4958 MB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/1.037, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/1.037, allocations: 19.86 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/1.037, allocations: 15.8 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/1.038, allocations: 31.97 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/1.038, allocations: 83.69 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/1.038, allocations: 40.22 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/1.038, allocations: 39.78 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/1.038, allocations: 47.83 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/1.038, allocations: 4 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/1.039, allocations: 12 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/1.039, allocations: 23.92 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/1.039, allocations: 39.73 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/1.039, allocations: 84.2 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.039, allocations: 0 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.058e-06/1.039, allocations: 4 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.273e-06/1.039, allocations: 0 / 1.17 GB, free: 1.297 MB / 0.8887 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.0006986/1.04, allocations: 403 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.04, allocations: 15.97 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/1.04, allocations: 12.84 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/1.04, allocations: 200.2 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/1.04, allocations: 4.375 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/1.04, allocations: 8.375 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/1.04, allocations: 109.9 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.04, allocations: 0 / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.04, allocations: 4 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.04, allocations: 7.984 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/1.041, allocations: 91.94 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/1.041, allocations: 384.5 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/1.042, allocations: 62.48 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/1.042, allocations: 52.95 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/1.042, allocations: 7.984 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.042, allocations: 34.56 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/1.042, allocations: 3.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0005304/1.042, allocations: 165.5 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.042, allocations: 55.41 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/1.042, allocations: 140.3 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/1.043, allocations: 25.7 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/1.043, allocations: 100.1 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/1.043, allocations: 27.88 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/1.043, allocations: 21.7 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.043, allocations: 314.8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.043, allocations: 43.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/1.043, allocations: 39.97 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/1.043, allocations: 88.8 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.043, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002896/1.044, allocations: 129.6 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.044, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.044, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.044, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/1.044, allocations: 23.92 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/1.044, allocations: 7.875 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/1.044, allocations: 7.984 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/1.044, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 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.0001073/1.044, allocations: 117.8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/1.044, allocations: 15.95 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/1.044, allocations: 138.8 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.044, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.044, allocations: 8 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/1.044, allocations: 81.06 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.045, allocations: 7.938 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/1.045, allocations: 11.98 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/1.045, allocations: 7.984 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003507/1.045, allocations: 200.9 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003516/1.045, allocations: 298.7 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001188/1.046, allocations: 55.89 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.16e-05/1.046, allocations: 105.8 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of Backend: time 7.62e-07/1.046, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005126/1.046, allocations: 131.5 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006231/1.047, allocations: 0.6408 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.003828/1.051, allocations: 1.034 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches