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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007524/0.007524, allocations: 104.1 kB / 15.74 MB, free: 6.02 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.001436/0.001437, allocations: 188.5 kB / 16.67 MB, free: 5.941 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8882, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002782/0.8911, allocations: 1.593 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.892, allocations: 0.5151 MB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.892, allocations: 0 / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.8922, allocations: 7.875 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.8922, allocations: 11.88 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.8925, allocations: 43.88 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.8926, allocations: 75.77 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.8928, allocations: 36.22 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.8929, allocations: 51.78 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.893, allocations: 39.83 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.893, allocations: 8 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.8931, allocations: 12 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.8931, allocations: 19.92 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.8932, allocations: 43.72 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.8934, allocations: 84.2 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.8934, allocations: 0 / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8934, allocations: 0 / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8934, allocations: 0 / 1.169 GB, free: 1.324 MB / 0.8887 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.0005447/0.8939, allocations: 414.9 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.894, allocations: 8.031 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.894, allocations: 12.84 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.8942, allocations: 196.2 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.8942, allocations: 4.375 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.8942, allocations: 4.375 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.8945, allocations: 113.9 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8945, allocations: 0 / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.8945, allocations: 4 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8945, allocations: 3.984 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.8948, allocations: 99.92 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.8954, allocations: 384.5 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.8955, allocations: 62.48 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.8957, allocations: 48.95 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.8957, allocations: 7.984 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.8957, allocations: 30.56 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.8957, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004739/0.8962, allocations: 169.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.8963, allocations: 51.41 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8964, allocations: 136.1 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.8964, allocations: 29.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.8965, allocations: 104.1 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.8965, allocations: 27.8 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.8966, allocations: 21.72 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8967, allocations: 322.8 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.8968, allocations: 39.97 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.8969, allocations: 39.97 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.8972, allocations: 88.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8972, allocations: 3.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002555/0.8974, allocations: 125.6 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.8975, allocations: 4 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8975, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8975, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.8976, allocations: 27.84 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8976, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.8977, allocations: 8 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.8978, allocations: 11.98 kB / 1.172 GB, free: 14.55 MB / 0.9044 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.815e-05/0.8978, allocations: 113.8 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.8979, allocations: 7.953 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.8983, allocations: 138.3 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.8983, allocations: 7.938 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8983, allocations: 4.484 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8983, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.8985, allocations: 205.6 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.8985, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.8986, allocations: 15.98 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8986, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.8987, allocations: 7.984 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8987, allocations: 3.938 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8987, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.899, allocations: 223.4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.899, allocations: 89 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.8991, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.8992, allocations: 11.92 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.8992, allocations: 8 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.8992, allocations: 7.938 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.489e-05/0.8993, allocations: 101.8 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8993, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000232/0.8996, allocations: 23.95 kB / 1.173 GB, free: 13.5 MB / 0.9044 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.0001324/0.8997, allocations: 99.25 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.9001, allocations: 99.92 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9001, allocations: 0 / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.9002, allocations: 55.91 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.9004, allocations: 11.88 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.9009, allocations: 222.8 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.9012, allocations: 0.7002 MB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.9013, allocations: 19.95 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.9013, allocations: 15.44 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.9013, allocations: 0 / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of Templates: time 0.003119/0.9045, allocations: 0.7124 MB / 1.174 GB, free: 11.51 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches