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.001029/0.001028, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008169/0.008169, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.694/2.694, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005491, allocations: 12 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7721, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001796/0.774, allocations: 1.32 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008961/0.7749, allocations: 0.4958 MB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.775, allocations: 4 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.7751, allocations: 11.86 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.7752, allocations: 7.938 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.7754, allocations: 35.89 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.7755, allocations: 71.78 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.7757, allocations: 36.22 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.7758, allocations: 35.84 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.7759, allocations: 31.84 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.7759, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.776, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.776, allocations: 23.92 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.7761, allocations: 61.44 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.7762, allocations: 81.64 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7762, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7762, allocations: 3.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7762, allocations: 0 / 1.025 GB, free: 13.62 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.000521/0.7768, allocations: 387.2 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.7768, allocations: 12.03 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.7769, allocations: 12.75 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.777, allocations: 200.1 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.7771, allocations: 4.375 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.7771, allocations: 8.375 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.7774, allocations: 106 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7774, allocations: 11.92 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7774, allocations: 4 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7774, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.7777, allocations: 115.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.7783, allocations: 376.7 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.7785, allocations: 70.48 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.7786, allocations: 56.94 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.7787, allocations: 7.984 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7787, allocations: 30.56 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.7787, allocations: 4 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005553/0.7793, allocations: 181.5 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.7793, allocations: 51.41 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7795, allocations: 143.1 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.7795, allocations: 25.7 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.7796, allocations: 112 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.7796, allocations: 23.73 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.7796, allocations: 9.719 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7798, allocations: 322.8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.7799, allocations: 47.97 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.78, allocations: 43.97 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.7803, allocations: 96.81 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7803, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003122/0.7806, allocations: 137.9 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7807, allocations: 8 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.7807, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7807, allocations: 3.938 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.7809, allocations: 27.98 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.7809, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.781, allocations: 11.98 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.781, allocations: 8 kB / 1.028 GB, free: 10.79 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.0001109/0.7811, allocations: 122.4 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.7812, allocations: 7.906 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.7816, allocations: 154.3 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7816, allocations: 7.875 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7816, allocations: 4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7816, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.7818, allocations: 213.5 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7818, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.7819, allocations: 19.98 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7819, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.782, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.782, allocations: 3.938 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.782, allocations: 3.984 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.7824, allocations: 235.4 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.7824, allocations: 85 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.7824, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7826, allocations: 15.88 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.7826, allocations: 7.984 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.7826, allocations: 4 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.453e-05/0.7827, allocations: 104.3 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7827, allocations: 0 / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002508/0.783, allocations: 23.94 kB / 1.029 GB, free: 9.688 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.0001683/0.7832, allocations: 101.4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.7835, allocations: 108.1 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7835, allocations: 4 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.7836, allocations: 67.89 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.7839, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.7843, allocations: 249.2 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.7846, allocations: 0.7004 MB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.7847, allocations: 19.95 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.7847, allocations: 19.38 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7847, allocations: 0 / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of Templates: time 0.002951/0.7877, allocations: 0.6098 MB / 1.031 GB, free: 7.77 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/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