Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001706/0.001706, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002153/0.002153, allocations: 192.4 kB / 22.11 MB, free: 5.152 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.551/1.551, allocations: 225.6 MB / 250.8 MB, free: 13.09 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.418/3.418, allocations: 495.8 MB / 0.783 GB, free: 33.52 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.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.14 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3831, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002253/0.3854, allocations: 0.6711 MB / 1.307 GB, free: 1.102 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001055/0.3864, allocations: 0.8238 MB / 1.308 GB, free: 272 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.3865, allocations: 0 / 1.308 GB, free: 272 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.3865, allocations: 3.938 kB / 1.308 GB, free: 268 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.3865, allocations: 4 kB / 1.308 GB, free: 264 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.3867, allocations: 11.92 kB / 1.308 GB, free: 252 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.3868, allocations: 19.94 kB / 1.308 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3869, allocations: 11.97 kB / 1.308 GB, free: 220 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.3869, allocations: 12 kB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.387, allocations: 15.92 kB / 1.308 GB, free: 192 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.387, allocations: 0 / 1.308 GB, free: 192 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.387, allocations: 4 kB / 1.308 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.387, allocations: 0 / 1.308 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.387, allocations: 11.94 kB / 1.308 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 8.328e-05/0.3871, allocations: 27.83 kB / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3871, allocations: 0 / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.3871, allocations: 0 / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.749e-06/0.3871, allocations: 0 / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004834/0.3876, allocations: 265.1 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3877, allocations: 12.03 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.3877, allocations: 4.891 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3878, allocations: 114.5 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3878, allocations: 4.375 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3878, allocations: 384 / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.388, allocations: 58.16 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.388, allocations: 192 / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.388, allocations: 7.938 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.388, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3882, allocations: 31.97 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.3886, allocations: 216 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3887, allocations: 42.44 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.3888, allocations: 20.91 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3888, allocations: 4 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3889, allocations: 38.55 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3889, allocations: 0 / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003597/0.3892, allocations: 73.75 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3893, allocations: 55.44 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.3894, allocations: 101.8 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3894, allocations: 25.7 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.3894, allocations: 88.09 kB / 1.309 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.3894, allocations: 11.89 kB / 1.309 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.3895, allocations: 17.64 kB / 1.309 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001531/0.3896, allocations: 310.8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.3897, allocations: 27.92 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.3898, allocations: 11.98 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.39, allocations: 44.81 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.39, allocations: 0 / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002186/0.3902, allocations: 69.67 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3902, allocations: 5.25 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3902, allocations: 0 / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3902, allocations: 3.984 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3903, allocations: 8 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3903, allocations: 3.938 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.3904, allocations: 11.92 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3904, allocations: 0 / 1.31 GB, free: 14.3 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 (2):
 * Single equations (assignments): 2
 * 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 8.534e-05/0.3905, allocations: 118.5 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3905, allocations: 4 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3907, allocations: 68.97 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3907, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3907, allocations: 3.984 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3907, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3909, allocations: 132.7 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3909, allocations: 0 / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.3909, allocations: 12.02 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3909, allocations: 0 / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.391, allocations: 0 / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.391, allocations: 0 / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.391, allocations: 7.938 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3912, allocations: 163.4 kB / 1.31 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.3912, allocations: 8.031 kB / 1.31 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3913, allocations: 4 kB / 1.31 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.3913, allocations: 7.984 kB / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.3914, allocations: 0 / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3914, allocations: 0 / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.662e-05/0.3914, allocations: 83.47 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002076/0.3916, allocations: 7.938 kB / 1.311 GB, free: 13.62 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 (2):
 * Single equations (assignments): 2
 * 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.0001614/0.3918, allocations: 103.2 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002276/0.392, allocations: 35.91 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.392, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.3921, allocations: 23.97 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3924, allocations: 5.203 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3927, allocations: 110.3 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3931, allocations: 0.6768 MB / 1.311 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.245e-05/0.3931, allocations: 3.984 kB / 1.311 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.3931, allocations: 11.44 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of SimCode: time 3.81e-07/0.3931, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of Templates: time 0.002749/0.3959, allocations: 459.1 kB / 1.312 GB, free: 12.15 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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: 9.629779113456607]