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.002488/0.002488, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002828/0.002828, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.929/2.929, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 4.058e-06/4.058e-06, allocations: 4.594 kB / 0.7864 GB, free: 11.59 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.542e-05/4.948e-05, allocations: 2.312 kB / 0.7865 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002406/0.002455, allocations: 0.6622 MB / 0.7871 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003942, allocations: 0.8445 MB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.003989, allocations: 2.219 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.004013, allocations: 4 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.004104, allocations: 11.86 kB / 0.7879 GB, free: 10.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.004315, allocations: 8 kB / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.004413, allocations: 23.92 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.004517, allocations: 1.125 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.004624, allocations: 19.98 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.004673, allocations: 11.91 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.004693, allocations: 4.906 kB / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.004744, allocations: 4 kB / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.004763, allocations: 4 kB / 0.788 GB, free: 10 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.004787, allocations: 5.406 kB / 0.788 GB, free: 10 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004923, allocations: 31.83 kB / 0.788 GB, free: 9.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.004929, allocations: 4 kB / 0.7881 GB, free: 9.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004929, allocations: 1.062 kB / 0.7881 GB, free: 9.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004933, allocations: 3.938 kB / 0.7881 GB, free: 9.961 MB / 0.698 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.0005435/0.005477, allocations: 356.3 kB / 0.7884 GB, free: 9.574 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.005516, allocations: 9.594 kB / 0.7884 GB, free: 9.566 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.005634, allocations: 8.891 kB / 0.7884 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.00577, allocations: 112.5 kB / 0.7885 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.005788, allocations: 8.375 kB / 0.7885 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.005796, allocations: 1.938 kB / 0.7885 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.005946, allocations: 38.25 kB / 0.7886 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005955, allocations: 192 / 0.7886 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.005969, allocations: 4.375 kB / 0.7886 GB, free: 9.367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005974, allocations: 1.688 kB / 0.7886 GB, free: 9.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.006087, allocations: 27.86 kB / 0.7886 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.006497, allocations: 251.8 kB / 0.7888 GB, free: 9.059 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.006622, allocations: 41.09 kB / 0.7889 GB, free: 9.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.006687, allocations: 19.73 kB / 0.7889 GB, free: 8.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.006716, allocations: 4 kB / 0.7889 GB, free: 8.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.006756, allocations: 39.58 kB / 0.7889 GB, free: 8.934 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.006757, allocations: 0 / 0.7889 GB, free: 8.934 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002999/0.007057, allocations: 73.55 kB / 0.789 GB, free: 8.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.007104, allocations: 51.41 kB / 0.7891 GB, free: 8.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.007256, allocations: 170.4 kB / 0.7892 GB, free: 8.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.007278, allocations: 25.7 kB / 0.7892 GB, free: 8.578 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/0.007364, allocations: 131.4 kB / 0.7894 GB, free: 8.445 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.007381, allocations: 5.609 kB / 0.7894 GB, free: 8.441 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.007426, allocations: 23.38 kB / 0.7894 GB, free: 8.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.007686, allocations: 496.1 kB / 0.7899 GB, free: 7.914 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.007745, allocations: 11.98 kB / 0.7899 GB, free: 7.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.007791, allocations: 8.656 kB / 0.7899 GB, free: 7.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.007899, allocations: 36.78 kB / 0.7899 GB, free: 7.855 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0079, allocations: 0 / 0.7899 GB, free: 7.855 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001476/0.008048, allocations: 54.84 kB / 0.79 GB, free: 7.797 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.00806, allocations: 4 kB / 0.79 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008067, allocations: 5.312 kB / 0.79 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.00808, allocations: 0 / 0.79 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.008155, allocations: 8 kB / 0.79 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.00816, allocations: 5.688 kB / 0.79 GB, free: 7.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.008196, allocations: 3.984 kB / 0.79 GB, free: 7.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.008203, allocations: 4 kB / 0.79 GB, free: 7.77 MB / 0.698 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 0.0001164/0.00832, allocations: 156.6 kB / 0.7902 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.008342, allocations: 0.9062 kB / 0.7902 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.00853, allocations: 73.48 kB / 0.7902 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008532, allocations: 0 / 0.7902 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.008535, allocations: 1.156 kB / 0.7902 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.008537, allocations: 0 / 0.7902 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.008691, allocations: 112.6 kB / 0.7903 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008692, allocations: 3.188 kB / 0.7903 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.008739, allocations: 8 kB / 0.7903 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008741, allocations: 0 / 0.7903 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.00875, allocations: 4 kB / 0.7904 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.008754, allocations: 3.938 kB / 0.7904 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.008754, allocations: 0 / 0.7904 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.009004, allocations: 207.8 kB / 0.7906 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.00901, allocations: 0.5 kB / 0.7906 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.009024, allocations: 4 kB / 0.7906 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.009096, allocations: 5.875 kB / 0.7906 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.009136, allocations: 3.984 kB / 0.7906 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.009139, allocations: 4 kB / 0.7906 GB, free: 7.129 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.009221, allocations: 127.2 kB / 0.7907 GB, free: 7.004 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009221, allocations: 0 / 0.7907 GB, free: 7.004 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002046/0.009426, allocations: 6.469 kB / 0.7907 GB, free: 7 MB / 0.698 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.0001166/0.009542, allocations: 91.25 kB / 0.7908 GB, free: 6.902 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.009715, allocations: 35.66 kB / 0.7908 GB, free: 6.863 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009717, allocations: 0.7188 kB / 0.7908 GB, free: 6.863 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.009791, allocations: 28.5 kB / 0.7908 GB, free: 6.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01005, allocations: 7.969 kB / 0.7909 GB, free: 6.824 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.01037, allocations: 126.7 kB / 0.791 GB, free: 6.676 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.01044, allocations: 64.64 kB / 0.791 GB, free: 6.594 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.01046, allocations: 0 / 0.791 GB, free: 6.594 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.01049, allocations: 9.312 kB / 0.791 GB, free: 6.586 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.01049, allocations: 3.938 kB / 0.7911 GB, free: 6.582 MB / 0.698 GB Notification: Performance of Templates: time 0.003056/0.01354, allocations: 493.2 kB / 0.7915 GB, free: 6.117 MB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] 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: 7.988376799039543]