Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00106/0.00106, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00838/0.00838, allocations: 170 kB / 16.27 MB, free: 6.648 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8612/0.8616, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002231/0.8639, allocations: 1.311 MB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.8648, allocations: 0.4904 MB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.8649, allocations: 2 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.865, allocations: 7.922 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.8651, allocations: 13.84 kB / 0.9568 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.8653, allocations: 35.48 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.8654, allocations: 77.84 kB / 0.9569 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.8656, allocations: 38.86 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.8657, allocations: 36.2 kB / 0.957 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.8658, allocations: 26.08 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.8659, allocations: 6.281 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.8659, allocations: 9.641 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.866, allocations: 13.72 kB / 0.957 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.866, allocations: 65.58 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.8662, allocations: 79.47 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8662, allocations: 1.188 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8662, allocations: 4 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8662, allocations: 0 / 0.9572 GB, free: 5.973 MB / 0.7169 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.0005702/0.8668, allocations: 387.8 kB / 0.9576 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.8669, allocations: 9.812 kB / 0.9576 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.8669, allocations: 9.594 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.8671, allocations: 194.5 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.8671, allocations: 11.06 kB / 0.9578 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.8672, allocations: 4.719 kB / 0.9578 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.8674, allocations: 122.7 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8675, allocations: 0 / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8675, allocations: 1.031 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.8675, allocations: 2.312 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.8678, allocations: 113.8 kB / 0.958 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.8684, allocations: 385.1 kB / 0.9584 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.8686, allocations: 69.94 kB / 0.9584 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.8688, allocations: 59.83 kB / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/0.8688, allocations: 2.75 kB / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.8689, allocations: 34.5 kB / 0.9585 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.8689, allocations: 3.938 kB / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0005258/0.8694, allocations: 189.2 kB / 0.9587 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.8694, allocations: 53.25 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8696, allocations: 137.1 kB / 0.9589 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.8696, allocations: 29.7 kB / 0.9589 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.8696, allocations: 107.7 kB / 0.959 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.8697, allocations: 19.25 kB / 0.9591 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.8697, allocations: 15.5 kB / 0.9591 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.8698, allocations: 316.6 kB / 0.9594 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.8699, allocations: 47.19 kB / 0.9594 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.87, allocations: 48.88 kB / 0.9595 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.8703, allocations: 108.2 kB / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8703, allocations: 0 / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002738/0.8705, allocations: 136.9 kB / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8706, allocations: 6.906 kB / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8706, allocations: 0 / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8706, allocations: 5.375 kB / 0.9597 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.8707, allocations: 27.03 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8708, allocations: 0 / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.8708, allocations: 8.25 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.8709, allocations: 6.734 kB / 0.9597 GB, free: 3.789 MB / 0.7169 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.151e-05/0.871, allocations: 115.3 kB / 0.9599 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.871, allocations: 12.03 kB / 0.9599 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.8714, allocations: 155 kB / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.8714, allocations: 9.297 kB / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8714, allocations: 0 / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8714, allocations: 5.375 kB / 0.96 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.8716, allocations: 200.9 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8716, allocations: 1.375 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.8717, allocations: 19.11 kB / 0.9602 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8717, allocations: 1.375 kB / 0.9602 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.8717, allocations: 7.984 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.8717, allocations: 5.312 kB / 0.9603 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8717, allocations: 0 / 0.9603 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.8721, allocations: 235.9 kB / 0.9605 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.8721, allocations: 83.7 kB / 0.9606 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.8721, allocations: 5.469 kB / 0.9606 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.8722, allocations: 26.52 kB / 0.9606 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.8723, allocations: 3.688 kB / 0.9606 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.8723, allocations: 6.891 kB / 0.9606 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.8724, allocations: 102 kB / 0.9607 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8724, allocations: 5.062 kB / 0.9607 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002341/0.8726, allocations: 16.16 kB / 0.9607 GB, free: 2.926 MB / 0.7169 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.0001627/0.8728, allocations: 97.59 kB / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.8731, allocations: 119.5 kB / 0.9609 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8731, allocations: 0.9688 kB / 0.9609 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.8732, allocations: 57.75 kB / 0.961 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.8735, allocations: 5.469 kB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.874, allocations: 254.3 kB / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.8742, allocations: 0.7001 MB / 0.9619 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.8743, allocations: 12.27 kB / 0.9619 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.8743, allocations: 14.16 kB / 0.9619 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8743, allocations: 0 / 0.9619 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of Templates: time 0.003812/0.8781, allocations: 0.6156 MB / 0.9625 GB, free: 1.512 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches