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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_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.001363/0.001363, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.001426/0.001426, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 64.12 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8998/0.9012, allocations: 157.4 MB / 1.208 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002982/0.9043, allocations: 1.6 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009318/0.9052, allocations: 0.4949 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.9053, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.9055, allocations: 19.86 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.9056, allocations: 15.8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.9058, allocations: 35.95 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.906, allocations: 83.7 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.9062, allocations: 44.2 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.9063, allocations: 35.8 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.9064, allocations: 43.84 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.9064, allocations: 4 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.9065, allocations: 11.98 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.9065, allocations: 27.91 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.9066, allocations: 39.73 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.9068, allocations: 85.53 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9068, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9068, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9068, allocations: 4 kB / 1.211 GB, free: 11.29 MB / 0.9356 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.0005486/0.9074, allocations: 407 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9074, allocations: 11.97 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.9075, allocations: 16.73 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.9077, allocations: 189.8 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.9077, allocations: 8.375 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.9077, allocations: 4.375 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.908, allocations: 116.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.908, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.908, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.908, allocations: 4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.9083, allocations: 99.8 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.9089, allocations: 380.5 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.909, allocations: 62.48 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.9091, allocations: 44.95 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.9092, allocations: 8 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.9092, allocations: 30.56 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.9092, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004955/0.9097, allocations: 173.4 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.9098, allocations: 51.41 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.9099, allocations: 140.3 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.9099, allocations: 25.7 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.91, allocations: 104.1 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.91, allocations: 19.75 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.9101, allocations: 25.7 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9102, allocations: 318.8 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.9103, allocations: 39.97 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.9104, allocations: 39.97 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.9107, allocations: 85.19 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9107, allocations: 4 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002672/0.9109, allocations: 133.5 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.911, allocations: 4 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.911, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.911, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.9111, allocations: 19.98 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.9112, allocations: 7.875 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.9112, allocations: 15.89 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.9113, allocations: 4 kB / 1.213 GB, free: 8.531 MB / 0.9356 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 8.938e-05/0.9114, allocations: 121.8 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.9114, allocations: 7.906 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.9118, allocations: 142.3 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9118, allocations: 0 / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.9118, allocations: 7.922 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.9118, allocations: 88.95 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.9119, allocations: 7.984 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.912, allocations: 8 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.912, allocations: 3.984 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003436/0.9124, allocations: 208.9 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003733/0.9127, allocations: 306.5 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001188/0.9129, allocations: 44.22 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.9129, allocations: 103.3 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of Backend: time 5.41e-07/0.9129, allocations: 0 / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.9134, allocations: 142.8 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005289/0.914, allocations: 0.6372 MB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.003603/0.9176, allocations: 1.015 MB / 1.216 GB, free: 5.594 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches