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.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.001349/0.001349, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001438/0.001438, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.488/1.488, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8809, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002004/0.8829, allocations: 0.6693 MB / 1.275 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.884, allocations: 0.8117 MB / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.884, allocations: 0 / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.8841, allocations: 7.938 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.8841, allocations: 0 / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.8843, allocations: 11.94 kB / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.8844, allocations: 19.98 kB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.8845, allocations: 11.98 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.8845, allocations: 11.94 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.8846, allocations: 15.91 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.8846, allocations: 4 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.8846, allocations: 0 / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.8846, allocations: 4 kB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.8847, allocations: 11.94 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.583e-05/0.8847, allocations: 22.58 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8847, allocations: 0 / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.367e-06/0.8847, allocations: 4 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.8848, allocations: 0 / 1.276 GB, free: 2.938 MB / 0.9669 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.0004868/0.8852, allocations: 335.5 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.8853, allocations: 8.031 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.8853, allocations: 12.88 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8855, allocations: 160.4 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.8855, allocations: 4.375 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.8855, allocations: 4.375 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8857, allocations: 46.23 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8857, allocations: 192 / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.8857, allocations: 19.86 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.8857, allocations: 4 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.8859, allocations: 31.91 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.8864, allocations: 249 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.8865, allocations: 38.5 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.8866, allocations: 20.91 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.8867, allocations: 7.969 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.8867, allocations: 38.5 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.8867, allocations: 0 / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004239/0.8871, allocations: 77.66 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.8872, allocations: 55.39 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.8873, allocations: 101.8 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.8873, allocations: 25.7 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.8874, allocations: 96.16 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.8875, allocations: 3.953 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.8875, allocations: 17.7 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.8877, allocations: 314.8 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.8878, allocations: 15.98 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.8879, allocations: 15.92 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.888, allocations: 44.88 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.888, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002082/0.8882, allocations: 65.61 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8883, allocations: 7.984 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8883, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8883, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.8884, allocations: 8 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.8884, allocations: 4.031 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.8885, allocations: 11.98 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.8885, allocations: 3.984 kB / 1.277 GB, free: 0.8984 MB / 0.9669 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.796e-05/0.8886, allocations: 110.3 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.8886, allocations: 7.938 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.8888, allocations: 72.77 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8888, allocations: 4.031 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8888, allocations: 0 / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8888, allocations: 4 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.889, allocations: 157.6 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.889, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.8891, allocations: 7.984 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8891, allocations: 0 / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.8891, allocations: 0 / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8891, allocations: 4 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8891, allocations: 0 / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.8893, allocations: 175.3 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.8894, allocations: 77.11 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.8894, allocations: 3.938 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.8895, allocations: 11.98 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.8895, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.8895, allocations: 7.969 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.8896, allocations: 83.27 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8896, allocations: 0 / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002053/0.8898, allocations: 4 kB / 1.278 GB, free: 88 kB / 0.9669 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.0001772/0.89, allocations: 103.2 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.8902, allocations: 31.97 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8902, allocations: 4.062 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.8903, allocations: 23.91 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.8906, allocations: 13.5 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.8909, allocations: 129 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8912, allocations: 0.6768 MB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.141e-05/0.8913, allocations: 336 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.8913, allocations: 11.5 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.8913, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of Templates: time 0.002858/0.8942, allocations: 446.1 kB / 1.28 GB, free: 14.61 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.98746486660093]