Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.001433/0.001433, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001568/0.001568, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.916/2.916, allocations: 476.7 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [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.002104/0.002104, allocations: 67.45 kB / 1.118 GB, free: 39.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3698, allocations: 170 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002407/0.3722, allocations: 0.673 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3735, allocations: 0.8473 MB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3736, allocations: 3.938 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.3736, allocations: 7.922 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.3737, allocations: 4 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3739, allocations: 7.938 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.374, allocations: 23.98 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3741, allocations: 4 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.3741, allocations: 19.91 kB / 1.285 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.3742, allocations: 15.92 kB / 1.285 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3742, allocations: 0 / 1.285 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-05/0.3743, allocations: 8 kB / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.3743, allocations: 4 kB / 1.285 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.3744, allocations: 7.938 kB / 1.285 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3745, allocations: 31.84 kB / 1.285 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3745, allocations: 0 / 1.285 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3745, allocations: 0 / 1.285 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3745, allocations: 0 / 1.285 GB, free: 9.07 MB / 0.9825 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.0004616/0.375, allocations: 268.4 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.375, allocations: 8.031 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.3751, allocations: 8.922 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3752, allocations: 110.5 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.3752, allocations: 384 / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3752, allocations: 4.375 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3754, allocations: 50.17 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3754, allocations: 8.188 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3754, allocations: 3.938 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3754, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.3756, allocations: 31.95 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.3759, allocations: 228 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3761, allocations: 42.55 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.3761, allocations: 20.84 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3762, allocations: 3.938 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3762, allocations: 34.55 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3762, allocations: 0 / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.3765, allocations: 81.75 kB / 1.286 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3766, allocations: 51.41 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.3767, allocations: 101.8 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3767, allocations: 29.7 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.3767, allocations: 80.14 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.3767, allocations: 3.953 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.3768, allocations: 21.7 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3769, allocations: 310.8 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.377, allocations: 23.89 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.3771, allocations: 19.98 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3772, allocations: 36.81 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3772, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.3774, allocations: 73.67 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3774, allocations: 4 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3775, allocations: 3.984 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3775, allocations: 4 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.3776, allocations: 4 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3776, allocations: 0 / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.3776, allocations: 7.984 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3776, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 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.0001006/0.3777, allocations: 129 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3777, allocations: 3.953 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.378, allocations: 64.97 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.378, allocations: 4 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.378, allocations: 3.984 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.378, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3781, allocations: 132.7 kB / 1.287 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3781, allocations: 4.031 kB / 1.287 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.3782, allocations: 11.98 kB / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3782, allocations: 0 / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3782, allocations: 0 / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3782, allocations: 0 / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3782, allocations: 0 / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3785, allocations: 167.4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.3785, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3785, allocations: 8 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.3786, allocations: 7.922 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.3786, allocations: 4 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3786, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.3786, allocations: 79.28 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3786, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002103/0.3789, allocations: 4 kB / 1.288 GB, free: 6.559 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.0001176/0.379, allocations: 103.3 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3792, allocations: 35.91 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3792, allocations: 7.938 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.3793, allocations: 15.97 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3796, allocations: 14.28 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.3799, allocations: 110.4 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3802, allocations: 0.6729 MB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.3802, allocations: 3.984 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.3803, allocations: 7.438 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3803, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.002943/0.3832, allocations: 444 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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: 9.229637765791267]