Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009744/0.0009744, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009433/0.0009433, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9354/0.9354, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 2.356/2.356, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.229e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001459/0.001482, allocations: 0.6696 MB / 0.8393 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.002286, allocations: 0.8625 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.002313, allocations: 0 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.002336, allocations: 7.938 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.002397, allocations: 3.984 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.002551, allocations: 23.8 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.002607, allocations: 19.94 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.002672, allocations: 7.984 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.002736, allocations: 12 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.002766, allocations: 3.984 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.002786, allocations: 4 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.002826, allocations: 11.98 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.002839, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.506e-05/0.002854, allocations: 19.92 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.801e-05/0.002932, allocations: 11.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002935, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002936, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002939, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 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.000258/0.003197, allocations: 240.9 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.003226, allocations: 8.625 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.003307, allocations: 8.922 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.992e-05/0.003377, allocations: 105.8 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.003386, allocations: 4.375 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.003394, allocations: 8.312 kB / 0.8406 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.607e-05/0.00348, allocations: 50.95 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.003486, allocations: 192 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.003493, allocations: 4.359 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003498, allocations: 384 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.003516, allocations: 7.938 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.003687, allocations: 144.4 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/0.00373, allocations: 30.44 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.024e-05/0.00374, allocations: 4.859 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.003753, allocations: 4.062 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.003772, allocations: 38.56 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.003773, allocations: 0 / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.327e-05/0.003866, allocations: 41.69 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.003895, allocations: 55.34 kB / 0.841 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.003945, allocations: 102.7 kB / 0.8411 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.003955, allocations: 29.7 kB / 0.8411 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.003981, allocations: 80.14 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.004, allocations: 15.86 kB / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.004021, allocations: 13.72 kB / 0.8412 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.004091, allocations: 310.8 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.0041, allocations: 8.125 kB / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.004107, allocations: 0 / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.004127, allocations: 12.84 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004129, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.967e-05/0.004169, allocations: 37.7 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.004179, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.004184, allocations: 3.938 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004195, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.004259, allocations: 15.92 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004262, allocations: 4.094 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.004276, allocations: 4 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.004281, allocations: 4 kB / 0.8416 GB, free: 10.88 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.329e-05/0.004324, allocations: 105.8 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.004336, allocations: 0 / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.004396, allocations: 45 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004398, allocations: 192 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.0044, allocations: 3.938 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.004404, allocations: 7.969 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.679e-05/0.004481, allocations: 65.89 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004482, allocations: 4.031 kB / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.004504, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.004506, allocations: 7.938 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.00451, allocations: 3.984 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.004511, allocations: 3.938 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.004512, allocations: 0 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.036e-05/0.004573, allocations: 127.5 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.00458, allocations: 7.984 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-06/0.004587, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.004647, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.004671, allocations: 8.031 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.004674, allocations: 0 / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.248e-05/0.004686, allocations: 20.78 kB / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004686, allocations: 0 / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001105/0.004797, allocations: 4 kB / 0.842 GB, free: 10.41 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 7.975e-05/0.004876, allocations: 72.42 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.847e-05/0.004925, allocations: 12.8 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.004928, allocations: 4 kB / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.004938, allocations: 8.922 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.005066, allocations: 11.98 kB / 0.8421 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.005383, allocations: 116.7 kB / 0.8422 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.005412, allocations: 59.34 kB / 0.8423 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.005426, allocations: 0 / 0.8423 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.005463, allocations: 55.31 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.005463, allocations: 4.062 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.00184/0.007303, allocations: 457.2 kB / 0.8428 GB, free: 9.57 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.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.248002345208079]