Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001253/0.001253, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.003052, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001018/0.001018, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002456, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.111/1.124, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.717/2.717, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3117/3.029, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.643e-05, allocations: 6.312 kB / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.003418/0.003454, allocations: 0.7302 MB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.00439, allocations: 0.8625 MB / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.004424, allocations: 0 / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.004455, allocations: 7.938 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.004504, allocations: 7.984 kB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.004621, allocations: 15.88 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.004692, allocations: 23.92 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.004791, allocations: 8 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.004892, allocations: 11.98 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.004943, allocations: 7.984 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.004959, allocations: 7.938 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.005031, allocations: 11.98 kB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.005049, allocations: 3.938 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.005065, allocations: 4 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.005171, allocations: 19.92 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.005184, allocations: 0 / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.124e-06/0.005186, allocations: 0 / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.005202, allocations: 4 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 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.0004233/0.005626, allocations: 236.6 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.005668, allocations: 8.031 kB / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.005837, allocations: 86.03 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.005937, allocations: 113.7 kB / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.005946, allocations: 384 / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.005957, allocations: 384 / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006075, allocations: 50.95 kB / 0.8211 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006083, allocations: 192 / 0.8211 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.006091, allocations: 384 / 0.8211 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006098, allocations: 8.375 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.006121, allocations: 15.84 kB / 0.8212 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.006342, allocations: 140.3 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.006389, allocations: 22.61 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.006405, allocations: 8.922 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.006424, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.006455, allocations: 38.5 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.006456, allocations: 0 / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001073/0.006563, allocations: 37.69 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.006592, allocations: 63.47 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.006644, allocations: 102.7 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.006654, allocations: 25.7 kB / 0.8216 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.006683, allocations: 80.14 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.006701, allocations: 11.89 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.006723, allocations: 13.7 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.006805, allocations: 318.8 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.006812, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.006818, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/0.006843, allocations: 20.78 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.006846, allocations: 12 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.606e-05/0.006882, allocations: 33.7 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006895, allocations: 8 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.006907, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.006921, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.006985, allocations: 11.92 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006988, allocations: 0 / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.007003, allocations: 4 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.007007, allocations: 0 / 0.8221 GB, free: 15.05 MB / 0.8073 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 5.158e-05/0.007059, allocations: 113.9 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.007069, allocations: 0 / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.007134, allocations: 44.94 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007136, allocations: 4 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.007139, allocations: 3.938 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007143, allocations: 3.984 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.546e-05/0.007219, allocations: 61.91 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007219, allocations: 0 / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.007239, allocations: 4 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.007246, allocations: 11.94 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007247, allocations: 32 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.007251, allocations: 4 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007253, allocations: 3.984 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.007255, allocations: 3.938 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.376e-05/0.007329, allocations: 135.5 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.007339, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.655e-05/0.007365, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.007392, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.007395, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.36e-05/0.007408, allocations: 16.78 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007408, allocations: 0 / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001106/0.007519, allocations: 8.031 kB / 0.8225 GB, free: 14.58 MB / 0.8073 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.0001053/0.007624, allocations: 76.42 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.233e-05/0.007687, allocations: 16.8 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.007693, allocations: 4 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.007713, allocations: 12.84 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.007883, allocations: 33.64 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.008469, allocations: 125.6 kB / 0.8227 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.008507, allocations: 59.34 kB / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.008522, allocations: 0 / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.008569, allocations: 55.36 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.008569, allocations: 0 / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.001939/0.01051, allocations: 490.6 kB / 0.8233 GB, free: 13.66 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.710771985352039]