Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002857/0.002857, allocations: 213.5 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.023/3.023, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 66.84 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3946, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002327/0.397, allocations: 0.6653 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3982, allocations: 0.8472 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.3982, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.3983, allocations: 3.938 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.3983, allocations: 7.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3985, allocations: 7.984 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.3986, allocations: 23.94 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3987, allocations: 7.984 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.3988, allocations: 8 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.3989, allocations: 11.92 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3989, allocations: 3.984 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.3989, allocations: 12 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.3989, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.399, allocations: 7.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.3991, allocations: 31.89 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3991, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3991, allocations: 3.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3991, allocations: 3.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 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.0005224/0.3996, allocations: 266.3 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3997, allocations: 8.031 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.3998, allocations: 4.938 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3999, allocations: 102.5 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3999, allocations: 8.359 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3999, allocations: 8.312 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.4001, allocations: 46.23 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4001, allocations: 192 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.4001, allocations: 7.938 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4001, allocations: 4 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.4003, allocations: 35.95 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.4007, allocations: 196.5 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.4008, allocations: 34.56 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.4009, allocations: 24.89 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4009, allocations: 3.938 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.401, allocations: 38.56 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.401, allocations: 0 / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003803/0.4013, allocations: 85.58 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4014, allocations: 51.41 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.4015, allocations: 97.86 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4015, allocations: 25.7 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.4016, allocations: 88.11 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.4016, allocations: 8.078 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.4016, allocations: 13.72 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4018, allocations: 318.8 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.4018, allocations: 11.98 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.4019, allocations: 19.97 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4021, allocations: 36.83 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4021, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.4023, allocations: 77.59 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4023, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4023, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4023, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.4024, allocations: 15.92 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4024, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.4025, allocations: 4 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.4025, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 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 9.732e-05/0.4026, allocations: 121.9 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4026, allocations: 7.891 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.4028, allocations: 68.91 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4028, allocations: 4 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4028, allocations: 0 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4028, allocations: 0 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.403, allocations: 105.3 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.403, allocations: 4 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.403, allocations: 8.031 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.403, allocations: 7.938 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.403, allocations: 7.922 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.403, allocations: 3.984 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.403, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4033, allocations: 159.5 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.4033, allocations: 3.938 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4033, allocations: 4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.4034, allocations: 12.16 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.4034, allocations: 3.984 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4034, allocations: 3.984 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.4035, allocations: 83.28 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4035, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000218/0.4037, allocations: 4 kB / 1.287 GB, free: 7.82 MB / 0.9825 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.0001257/0.4038, allocations: 91.25 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4041, allocations: 43.95 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4041, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.4041, allocations: 19.98 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4044, allocations: 0 / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.4048, allocations: 110.2 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.091e-05/0.4048, allocations: 59.34 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.4049, allocations: 8.125 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.4049, allocations: 11.38 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4049, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.002963/0.4079, allocations: 475.4 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.655714847147465]