Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 496 MB / 0.7835 GB, free: 33.76 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions")
translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.58 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3799, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002984/0.3828, allocations: 1.62 MB / 1.309 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000987/0.3838, allocations: 0.5222 MB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3839, allocations: 4 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.384, allocations: 7.875 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.384, allocations: 19.84 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.3843, allocations: 27.91 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3844, allocations: 83.7 kB / 1.31 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3846, allocations: 32.14 kB / 1.31 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3847, allocations: 47.78 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.3848, allocations: 35.84 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3848, allocations: 12 kB / 1.31 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.3849, allocations: 16 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.385, allocations: 27.91 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.385, allocations: 39.73 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3852, allocations: 87.58 kB / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3852, allocations: 0 / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.863e-06/0.3852, allocations: 0 / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.412e-06/0.3852, allocations: 0 / 1.31 GB, free: 15.21 MB / 1.014 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.0006052/0.3858, allocations: 329.9 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3858, allocations: 11.97 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.3859, allocations: 12.84 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3861, allocations: 138.4 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3861, allocations: 8.375 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3861, allocations: 4.375 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.3864, allocations: 105.9 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3864, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3864, allocations: 4 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3864, allocations: 8 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.3867, allocations: 95.92 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.3873, allocations: 355.6 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3875, allocations: 62.48 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3876, allocations: 48.95 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.3877, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3877, allocations: 34.56 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.3877, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0004968/0.3882, allocations: 165.5 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3882, allocations: 55.41 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3884, allocations: 140.6 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3884, allocations: 25.7 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.3884, allocations: 108.2 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3885, allocations: 19.8 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3885, allocations: 21.7 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001325/0.3887, allocations: 318.8 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3888, allocations: 39.97 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3889, allocations: 39.97 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3891, allocations: 88.8 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3891, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002827/0.3894, allocations: 129.6 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3894, allocations: 4 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3894, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3894, allocations: 4 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3896, allocations: 23.86 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3896, allocations: 4.375 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.3897, allocations: 15.92 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.3897, allocations: 4 kB / 1.312 GB, free: 12.65 MB / 1.014 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.932e-05/0.3898, allocations: 125.8 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.3898, allocations: 11.89 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.3902, allocations: 146.3 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3902, allocations: 3.938 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3902, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3902, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3904, allocations: 180.6 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3904, allocations: 7.984 kB / 1.313 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3905, allocations: 19.98 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3905, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3905, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3906, allocations: 3.938 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3906, allocations: 3.984 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.3909, allocations: 223.4 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.3909, allocations: 11.95 kB / 1.313 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3909, allocations: 0 / 1.313 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.391, allocations: 11.92 kB / 1.313 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.3911, allocations: 11.98 kB / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3911, allocations: 3.938 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.152e-05/0.3912, allocations: 105.6 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3912, allocations: 0 / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002392/0.3914, allocations: 15.94 kB / 1.313 GB, free: 11.71 MB / 1.014 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.0001638/0.3916, allocations: 104 kB / 1.313 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003037/0.3919, allocations: 95.94 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3919, allocations: 0 / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.392, allocations: 51.91 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3922, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.3927, allocations: 223.5 kB / 1.313 GB, free: 11.21 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3931, allocations: 0.7002 MB / 1.314 GB, free: 10.48 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001301/0.3932, allocations: 19.98 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3932, allocations: 11.42 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.3932, allocations: 3.938 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of Templates: time 0.003615/0.3968, allocations: 0.7487 MB / 1.315 GB, free: 9.703 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.945404972881079]