Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001193/0.001193, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 184 kB / 16.92 MB, free: 6.684 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 15.98 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6717, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001752/0.6735, allocations: 1.312 MB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.6744, allocations: 0.4958 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.6745, allocations: 8 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.6746, allocations: 7.922 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.6746, allocations: 11.86 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.6748, allocations: 27.97 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.6749, allocations: 75.77 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.6751, allocations: 36.2 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.6752, allocations: 35.8 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.6753, allocations: 35.84 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.6753, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.6754, allocations: 11.98 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.6754, allocations: 15.94 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.6755, allocations: 57.44 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.6756, allocations: 61.86 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.6756, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6756, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.6756, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 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.0004929/0.6761, allocations: 395.1 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.6761, allocations: 8.031 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.6762, allocations: 16.75 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.6764, allocations: 190.3 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.6764, allocations: 8.375 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6764, allocations: 4.375 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.6767, allocations: 117.9 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6767, allocations: 4 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6767, allocations: 0 / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6767, allocations: 0 / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.677, allocations: 115.9 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.6776, allocations: 388.5 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.6778, allocations: 66.55 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.6779, allocations: 52.95 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.678, allocations: 7.938 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.678, allocations: 34.55 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.678, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004785/0.6785, allocations: 181.5 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6785, allocations: 51.41 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.6787, allocations: 137.8 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.6787, allocations: 25.7 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.6788, allocations: 112 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.6788, allocations: 15.75 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.6788, allocations: 17.7 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6789, allocations: 318.8 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.6791, allocations: 47.97 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6792, allocations: 47.91 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.6794, allocations: 104.8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6794, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002975/0.6797, allocations: 137.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6798, allocations: 9.25 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6798, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6798, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.6799, allocations: 28.3 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.68, allocations: 3.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.68, allocations: 11.98 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.6801, allocations: 12 kB / 1.028 GB, free: 10.82 MB / 0.7794 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.0001026/0.6802, allocations: 118.4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.6802, allocations: 11.89 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.6806, allocations: 154.3 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6806, allocations: 7.938 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6806, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6806, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.6809, allocations: 209.5 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6809, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.681, allocations: 27.92 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.681, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.681, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.681, allocations: 7.938 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.681, allocations: 0 / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.6814, allocations: 231.4 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.6814, allocations: 81.02 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.6814, allocations: 8 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6815, allocations: 19.86 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.6816, allocations: 3.984 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6816, allocations: 4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.6817, allocations: 100.2 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6817, allocations: 0 / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002427/0.6819, allocations: 23.94 kB / 1.029 GB, free: 9.723 MB / 0.7794 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.0001372/0.6821, allocations: 107.2 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.6824, allocations: 107.9 kB / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6824, allocations: 0 / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.6825, allocations: 64.16 kB / 1.03 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.6827, allocations: 2.531 kB / 1.03 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.6832, allocations: 286.9 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.6835, allocations: 0.7004 MB / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.6835, allocations: 15.42 kB / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6835, allocations: 0 / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.002502/0.6861, allocations: 1.102 MB / 1.032 GB, free: 7.293 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches