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.00142/0.00142, allocations: 104.6 kB / 16.41 MB, free: 6.512 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.001463/0.001463, allocations: 187 kB / 17.34 MB, free: 5.742 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.08 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9456, allocations: 140.4 MB / 1.089 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002801/0.9484, allocations: 1.59 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.9493, allocations: 0.5165 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.9494, allocations: 5.031 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.9495, allocations: 11.7 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.9496, allocations: 11.22 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.9499, allocations: 37.48 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.95, allocations: 84.52 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.9501, allocations: 34.22 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.9503, allocations: 44 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.9504, allocations: 41.25 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.9504, allocations: 6.25 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.9505, allocations: 15.47 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.9505, allocations: 16.7 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.9506, allocations: 36.81 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.9507, allocations: 104.4 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9508, allocations: 0 / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9508, allocations: 0.625 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9508, allocations: 0 / 1.091 GB, free: 3.871 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.0004721/0.9512, allocations: 397.6 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.9513, allocations: 10.11 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.9513, allocations: 17.94 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9515, allocations: 189 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.9515, allocations: 7.5 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.9515, allocations: 4.25 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.9518, allocations: 115.9 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9518, allocations: 5.688 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.9518, allocations: 0 / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9518, allocations: 1.969 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.9521, allocations: 100.9 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.9526, allocations: 375.7 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.9528, allocations: 60.33 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.9529, allocations: 50.2 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.953, allocations: 7.953 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.953, allocations: 31.34 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.953, allocations: 3.984 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004554/0.9534, allocations: 169.7 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.9535, allocations: 53.62 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.9536, allocations: 141.2 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.9536, allocations: 25.7 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.9536, allocations: 112.6 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.9537, allocations: 16.19 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.9537, allocations: 25.14 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.9538, allocations: 323.4 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.9539, allocations: 38.83 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.954, allocations: 38.81 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.9542, allocations: 92.36 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9542, allocations: 4 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002797/0.9545, allocations: 123.3 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9546, allocations: 5.703 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.9546, allocations: 1.062 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.9546, allocations: 0 / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.9547, allocations: 22.23 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.9548, allocations: 0.9375 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.9548, allocations: 11.83 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.9549, allocations: 11.77 kB / 1.094 GB, free: 1.898 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 7.317e-05/0.9549, allocations: 117.4 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.955, allocations: 8.906 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.9553, allocations: 140.8 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9554, allocations: 4.656 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.9554, allocations: 0.7188 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9554, allocations: 4.609 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.9556, allocations: 207.9 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9556, allocations: 0 / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.9557, allocations: 18.95 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.9557, allocations: 0 / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9557, allocations: 6.719 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9557, allocations: 3.938 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9557, allocations: 0.625 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.956, allocations: 228 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.9561, allocations: 84.56 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.9561, allocations: 0.6875 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.9562, allocations: 11.84 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.9562, allocations: 9.672 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9563, allocations: 3.781 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.9563, allocations: 97.92 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9563, allocations: 4.844 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000246/0.9566, allocations: 21.03 kB / 1.095 GB, free: 1.125 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.0001209/0.9567, allocations: 98.5 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.957, allocations: 102.6 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.957, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.9571, allocations: 50.31 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.9574, allocations: 11.88 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.9578, allocations: 243.7 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.9579, allocations: 0.7023 MB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.958, allocations: 17.8 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.958, allocations: 0 / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of Templates: time 0.003086/0.9611, allocations: 1.123 MB / 1.097 GB, free: 0 / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches