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.01023/0.01023, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001946/0.001946, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.534/2.534, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.97 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3493, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003013/0.3523, allocations: 1.591 MB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.3533, allocations: 0.505 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.3533, allocations: 3.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.3535, allocations: 11.86 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.3535, allocations: 19.8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.3538, allocations: 31.97 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3539, allocations: 91.62 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3541, allocations: 44.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.3542, allocations: 39.84 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.17e-05/0.3543, allocations: 39.83 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3543, allocations: 8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.3544, allocations: 12 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.3545, allocations: 23.92 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3545, allocations: 35.73 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3547, allocations: 91.58 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3547, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3548, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3548, allocations: 0 / 1.09 GB, free: 14.91 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.000631/0.3554, allocations: 414.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3554, allocations: 8.031 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.3555, allocations: 8.891 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3557, allocations: 200.2 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3557, allocations: 4.375 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3557, allocations: 8.375 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.356, allocations: 111.9 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.356, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.356, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3561, allocations: 4 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3563, allocations: 95.88 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.357, allocations: 384.6 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3571, allocations: 54.55 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3572, allocations: 48.95 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.3573, allocations: 7.984 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3573, allocations: 30.56 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3573, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004881/0.3578, allocations: 169.5 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.3578, allocations: 51.41 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.358, allocations: 143.2 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.358, allocations: 25.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.3581, allocations: 108.2 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3581, allocations: 23.86 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.3581, allocations: 21.64 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3583, allocations: 314.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3584, allocations: 43.91 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/0.3585, allocations: 39.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.3587, allocations: 92.8 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3587, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002636/0.359, allocations: 129.9 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.359, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.359, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.359, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3592, allocations: 31.98 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3592, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.3593, allocations: 15.97 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3593, allocations: 4 kB / 1.093 GB, free: 12.14 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 9.568e-05/0.3594, allocations: 113.8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.3595, allocations: 11.94 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.3598, allocations: 154.2 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3598, allocations: 3.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3599, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3599, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3601, allocations: 197.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3601, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3602, allocations: 19.97 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3603, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3603, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3603, allocations: 3.938 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3603, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.3606, allocations: 227.4 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.3607, allocations: 85.06 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3608, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.3609, allocations: 11.92 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.3609, allocations: 11.98 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.361, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.361, allocations: 105.5 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.361, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002326/0.3613, allocations: 16 kB / 1.094 GB, free: 11.09 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.0001767/0.3614, allocations: 107.1 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3618, allocations: 104 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3618, allocations: 4 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3619, allocations: 51.97 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.3621, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.3627, allocations: 203.1 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3632, allocations: 0.7002 MB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.3633, allocations: 19.92 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.3634, allocations: 15.44 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3634, allocations: 0 / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.003213/0.3666, allocations: 0.7251 MB / 1.096 GB, free: 9.109 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