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.0007448/0.0007448, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001771, allocations: 435.8 kB / 10.33 MB, free: 368 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.000717/0.000717, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001688, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9202/0.9202, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0831/1.003, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.328/2.328, allocations: 446.8 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3039/2.632, allocations: 145.9 MB / 0.817 GB, free: 4.223 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 1.443e-06/1.443e-06, allocations: 0 / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.777e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001052/0.00107, allocations: 0.7185 MB / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.001754, allocations: 0.8664 MB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.001778, allocations: 0 / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.001798, allocations: 7.938 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.982e-05/0.001828, allocations: 4 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.299e-05/0.001901, allocations: 11.92 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.001967, allocations: 31.8 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.002036, allocations: 12 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.002105, allocations: 11.98 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.002138, allocations: 7.984 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002153, allocations: 4 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.002208, allocations: 8 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.002218, allocations: 3.938 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.00223, allocations: 4 kB / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.002374, allocations: 15.98 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.002385, allocations: 0 / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002385, allocations: 0 / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.002396, allocations: 3.938 kB / 0.82 GB, free: 1.105 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.0003012/0.002698, allocations: 244.6 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.002745, allocations: 8.625 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.002891, allocations: 86.03 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.002966, allocations: 109.8 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.002974, allocations: 384 / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.00298, allocations: 384 / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.226e-05/0.003072, allocations: 62.86 kB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.003078, allocations: 192 / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.003083, allocations: 384 / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.003087, allocations: 384 / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.003105, allocations: 11.94 kB / 0.8205 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.003272, allocations: 148.3 kB / 0.8207 GB, free: 364 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.00331, allocations: 18.58 kB / 0.8207 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.003323, allocations: 12.86 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.003337, allocations: 0 / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.003356, allocations: 34.56 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.003357, allocations: 0 / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 8.931e-05/0.003446, allocations: 37.69 kB / 0.8208 GB, free: 232 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.003475, allocations: 59.34 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.003518, allocations: 102.8 kB / 0.8209 GB, free: 44 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.003525, allocations: 25.7 kB / 0.821 GB, free: 12 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.003564, allocations: 84.12 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.003581, allocations: 15.88 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.0036, allocations: 9.719 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.003665, allocations: 314.8 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.003673, allocations: 7.938 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.003679, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.003699, allocations: 16.84 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.003701, allocations: 0 / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.652e-05/0.003737, allocations: 37.77 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.003749, allocations: 8 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.003753, allocations: 0 / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.00376, allocations: 0 / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.003829, allocations: 11.92 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.003832, allocations: 7.875 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.003847, allocations: 4 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-06/0.003849, allocations: 0 / 0.8215 GB, free: 15.48 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 4.503e-05/0.003894, allocations: 113.8 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.003905, allocations: 4.031 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.003965, allocations: 41 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.003967, allocations: 3.984 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.003971, allocations: 7.938 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.003974, allocations: 0 / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.004174, allocations: 61.91 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004175, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.004196, allocations: 7.984 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.004202, allocations: 7.953 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.004203, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-06/0.004206, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004206, allocations: 4.031 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004208, allocations: 3.938 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.2e-05/0.00426, allocations: 131.5 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.004267, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.667e-05/0.004293, allocations: 4 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.004316, allocations: 3.984 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.004319, allocations: 4 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.738e-06/0.004328, allocations: 16.97 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004328, allocations: 0 / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001069/0.004435, allocations: 4 kB / 0.8219 GB, free: 15.02 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 5.697e-05/0.004492, allocations: 80.45 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.559e-05/0.004538, allocations: 12.8 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.004542, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.004555, allocations: 12.83 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.00468, allocations: 8 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.005233, allocations: 116.8 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.679e-05/0.00526, allocations: 55.34 kB / 0.8221 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.005274, allocations: 7.938 kB / 0.8221 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.005308, allocations: 47.38 kB / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.005309, allocations: 0 / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.001984/0.007293, allocations: 491.7 kB / 0.8227 GB, free: 14.14 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.069747534580529]