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.008186/0.008186, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001357/0.001357, allocations: 192 kB / 16.67 MB, free: 5.973 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.647/2.647, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.03 kB / 0.9508 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003139/0.3444, allocations: 1.592 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009483/0.3454, allocations: 0.5089 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.3455, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3456, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.3457, allocations: 23.78 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3459, allocations: 35.91 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3461, allocations: 83.64 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3462, allocations: 44.19 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3464, allocations: 47.84 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.3465, allocations: 35.84 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3465, allocations: 8 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.081e-05/0.3466, allocations: 15.98 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.3466, allocations: 15.92 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.3467, allocations: 43.73 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3468, allocations: 91.58 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3469, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3469, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3469, allocations: 0 / 1.09 GB, free: 15.05 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.000582/0.3475, allocations: 407.1 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3475, allocations: 12.03 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.3476, allocations: 12.75 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.3478, allocations: 192.2 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3479, allocations: 4.375 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3479, allocations: 4.375 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.3481, allocations: 116.4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3482, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3482, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3482, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.3484, allocations: 99.92 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.3491, allocations: 380.5 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3493, allocations: 58.55 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3494, allocations: 48.95 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3495, allocations: 7.984 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3495, allocations: 30.56 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3495, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004712/0.35, allocations: 169.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.35, allocations: 51.41 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3502, allocations: 141.3 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3502, allocations: 25.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3503, allocations: 112.1 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.3503, allocations: 15.73 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3503, allocations: 25.66 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3505, allocations: 322.8 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3506, allocations: 39.97 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/0.3507, allocations: 35.97 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3509, allocations: 88.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3509, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002476/0.3512, allocations: 129.9 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3512, allocations: 8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3512, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3512, allocations: 3.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3514, allocations: 23.91 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3514, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.3515, allocations: 12 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3515, allocations: 3.984 kB / 1.093 GB, free: 12.3 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 0.0001032/0.3516, allocations: 121.8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3516, allocations: 7.906 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.352, allocations: 146.2 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.352, allocations: 3.938 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.352, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.352, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3523, allocations: 217.5 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3523, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.3524, allocations: 15.98 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3524, allocations: 3.984 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3524, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3525, allocations: 7.938 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3525, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3528, allocations: 227.3 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.3529, allocations: 85.02 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3529, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.353, allocations: 11.92 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.353, allocations: 8.125 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3531, allocations: 7.984 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.3532, allocations: 99.27 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3532, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002351/0.3534, allocations: 16 kB / 1.094 GB, free: 11.24 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.0001787/0.3536, allocations: 107.2 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.3539, allocations: 103.9 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3539, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.354, allocations: 47.97 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3542, allocations: 10.34 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.3547, allocations: 215.2 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.355, allocations: 0.7001 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.524e-05/0.3551, allocations: 19.88 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.3552, allocations: 15.44 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3552, allocations: 0 / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of Templates: time 0.003129/0.3583, allocations: 0.7251 MB / 1.096 GB, free: 9.246 MB / 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/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