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.001798/0.001798, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002008/0.002008, allocations: 204.3 kB / 22.18 MB, free: 5.211 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.473/1.473, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.776/2.776, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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.001974/0.001974, allocations: 67.91 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.883/0.885, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002056/0.887, allocations: 0.6577 MB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.8881, allocations: 0.8234 MB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.8881, allocations: 0 / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.8882, allocations: 0 / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.8882, allocations: 3.938 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.8884, allocations: 11.97 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.8885, allocations: 27.92 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.8886, allocations: 4 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.8887, allocations: 11.94 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.8887, allocations: 7.984 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.8887, allocations: 0 / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-06/0.8887, allocations: 11.94 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.8888, allocations: 4 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.8888, allocations: 15.92 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.8889, allocations: 22.62 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8889, allocations: 0 / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8889, allocations: 0 / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8889, allocations: 0 / 1.276 GB, free: 2.785 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.0005695/0.8895, allocations: 335.5 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8895, allocations: 12.03 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.8895, allocations: 12.83 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.8897, allocations: 160.4 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.8897, allocations: 4.375 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.8897, allocations: 4.312 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.8899, allocations: 58.17 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8899, allocations: 192 / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.89, allocations: 3.938 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.89, allocations: 0 / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.8902, allocations: 39.95 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.8905, allocations: 241 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.8907, allocations: 46.42 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.8908, allocations: 20.91 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.8908, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.8908, allocations: 34.56 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.8908, allocations: 7.984 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003767/0.8912, allocations: 77.64 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.8913, allocations: 51.41 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.8913, allocations: 105.8 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.8914, allocations: 29.83 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.8914, allocations: 92.03 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.8914, allocations: 3.953 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.8915, allocations: 13.72 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8916, allocations: 314.8 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.8917, allocations: 15.97 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.8918, allocations: 19.98 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.892, allocations: 36.89 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.892, allocations: 4 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002065/0.8922, allocations: 65.59 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8922, allocations: 8 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8922, allocations: 3.938 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8922, allocations: 4.031 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.8923, allocations: 7.984 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.8923, allocations: 0 / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.8924, allocations: 4 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.8924, allocations: 0 / 1.277 GB, free: 0.7578 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 0.0001161/0.8925, allocations: 122.3 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.8925, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.8927, allocations: 72.78 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.8928, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8928, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8928, allocations: 3.938 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.893, allocations: 161.6 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.893, allocations: 3.938 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.893, allocations: 11.94 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.893, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.893, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.893, allocations: 4.031 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.893, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.8933, allocations: 167.4 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.8933, allocations: 81.09 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.8933, allocations: 4 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.8934, allocations: 4 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.8935, allocations: 12.02 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.8935, allocations: 4 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.8935, allocations: 79.28 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8935, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002113/0.8937, allocations: 4 kB / 1.278 GB, free: 15.94 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.00012/0.8939, allocations: 95.25 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.8941, allocations: 47.89 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8941, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.8942, allocations: 15.98 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.8945, allocations: 9.5 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.8948, allocations: 126 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.8951, allocations: 0.6768 MB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.8951, allocations: 4.125 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.8951, allocations: 11.44 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8951, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.002984/0.8981, allocations: 450.3 kB / 1.28 GB, free: 14.47 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 gbode -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.685060929041356]