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.001632/0.001632, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002045/0.002045, allocations: 215.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.347/3.347, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 69.95 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001859/0.3408, allocations: 0.6732 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3418, allocations: 0.8436 MB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.3419, allocations: 0 / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.3419, allocations: 0 / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.3419, allocations: 7.938 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3421, allocations: 8 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.932e-05/0.3422, allocations: 31.86 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3423, allocations: 7.969 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.3423, allocations: 8 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.3424, allocations: 15.92 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3424, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.3424, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.3424, allocations: 8 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.3424, allocations: 3.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.996e-05/0.3425, allocations: 35.77 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3426, allocations: 7.984 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3426, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3426, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 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.0004313/0.343, allocations: 258.4 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.343, allocations: 8.031 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.3431, allocations: 16.83 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3432, allocations: 106.5 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3432, allocations: 4.375 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.3432, allocations: 384 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3434, allocations: 54.23 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3434, allocations: 192 / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3434, allocations: 3.938 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3434, allocations: 0 / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3436, allocations: 39.89 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3439, allocations: 192.6 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.344, allocations: 30.56 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.3441, allocations: 28.89 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3441, allocations: 3.938 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3442, allocations: 34.56 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3442, allocations: 0 / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003487/0.3445, allocations: 81.58 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3446, allocations: 55.41 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.3446, allocations: 98 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3447, allocations: 29.83 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3447, allocations: 88.08 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3447, allocations: 7.953 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.3448, allocations: 13.72 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3449, allocations: 314.8 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.345, allocations: 15.98 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.3451, allocations: 15.97 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3452, allocations: 44.83 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3452, allocations: 0 / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3454, allocations: 69.59 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3454, allocations: 4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3454, allocations: 48 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3454, allocations: 3.984 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.3455, allocations: 11.98 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3455, allocations: 4.031 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3456, allocations: 8 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.3456, allocations: 0 / 1.368 GB, free: 10.08 MB / 1.061 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 7.627e-05/0.3457, allocations: 109.8 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3457, allocations: 15.8 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3459, allocations: 72.91 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3459, allocations: 4 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3459, allocations: 0 / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3459, allocations: 4.031 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.346, allocations: 101.3 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.346, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.3461, allocations: 4 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3461, allocations: 7.938 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3461, allocations: 4 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3461, allocations: 0 / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3461, allocations: 4 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3464, allocations: 167.4 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.3464, allocations: 7.922 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3464, allocations: 4 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3465, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3465, allocations: 11.98 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3465, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.3465, allocations: 79.28 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3465, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002154/0.3468, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 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.0001134/0.3469, allocations: 95.28 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3471, allocations: 35.95 kB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3471, allocations: 0 / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.3472, allocations: 23.92 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.3474, allocations: 4 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.3477, allocations: 132 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.3478, allocations: 67.47 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3478, allocations: 7.438 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3478, allocations: 0 / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of Templates: time 0.002105/0.3499, allocations: 0.5541 MB / 1.369 GB, free: 8.453 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.152661064639688]