Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001018/0.001018, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001265/0.001265, allocations: 172.2 kB / 24.87 MB, free: 8.875 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.967/1.967, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.559e-05, allocations: 6.906 kB / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001387/0.001413, allocations: 0.6761 MB / 0.8135 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.00222, allocations: 0.868 MB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.002266, allocations: 0 / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.002295, allocations: 3.938 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.002366, allocations: 0.75 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.002541, allocations: 15.97 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.002605, allocations: 32.92 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.002686, allocations: 0 / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.002757, allocations: 15.98 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.002788, allocations: 9.391 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.002802, allocations: 4 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.002843, allocations: 11.88 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.002857, allocations: 4 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.002873, allocations: 13.73 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.162e-05/0.002955, allocations: 15.98 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.002957, allocations: 0 / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.175e-06/0.002959, allocations: 3.984 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.002964, allocations: 0 / 0.8145 GB, free: 15.7 MB / 0.7761 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.000775/0.003739, allocations: 358 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.003775, allocations: 12.03 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.003853, allocations: 0.9375 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.003931, allocations: 118.2 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.003941, allocations: 384 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.003947, allocations: 4.375 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.004042, allocations: 50.94 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.00405, allocations: 1.531 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.004056, allocations: 384 / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.00406, allocations: 4.375 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.004079, allocations: 11.86 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.0043, allocations: 225 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.004344, allocations: 33.03 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.004359, allocations: 15.75 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.00437, allocations: 0 / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.004389, allocations: 37.33 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004391, allocations: 2.25 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001131/0.004504, allocations: 45.53 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.004531, allocations: 55.41 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.004595, allocations: 161.9 kB / 0.8156 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004603, allocations: 25.7 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.004643, allocations: 131.6 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.004659, allocations: 3.953 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.004682, allocations: 19.91 kB / 0.8157 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.004792, allocations: 0.4884 MB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.004802, allocations: 5.656 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.004811, allocations: 0 / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.004836, allocations: 15.62 kB / 0.8162 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004837, allocations: 0.5938 kB / 0.8162 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.914e-05/0.004887, allocations: 39.02 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.0049, allocations: 7.984 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004903, allocations: 0 / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.004913, allocations: 9.094 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.004966, allocations: 4 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004968, allocations: 0 / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.004985, allocations: 9.031 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.004989, allocations: 0 / 0.8163 GB, free: 13.65 MB / 0.7761 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 5.552e-05/0.005044, allocations: 156.6 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.005061, allocations: 8.531 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.005141, allocations: 41.94 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.005143, allocations: 3.938 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005145, allocations: 0.8438 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005147, allocations: 4 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.828e-05/0.005235, allocations: 94.84 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005237, allocations: 4 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.005264, allocations: 7.984 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005266, allocations: 4 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.00527, allocations: 0.9062 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.005271, allocations: 0 / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005272, allocations: 0 / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.02e-05/0.005362, allocations: 194 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.005369, allocations: 7.969 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.005377, allocations: 0 / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.983e-05/0.005406, allocations: 7.938 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.005431, allocations: 0 / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005434, allocations: 6.125 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.005474, allocations: 127.2 kB / 0.8169 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005474, allocations: 0 / 0.8169 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000138/0.005613, allocations: 4 kB / 0.817 GB, free: 12.94 MB / 0.7761 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 8.426e-05/0.005697, allocations: 99.75 kB / 0.817 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.005761, allocations: 13.38 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005762, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.005779, allocations: 19.61 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.005964, allocations: 8.438 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.006308, allocations: 115.8 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.00634, allocations: 63.84 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.006358, allocations: 0.5312 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.006404, allocations: 70.86 kB / 0.8173 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.006405, allocations: 0 / 0.8173 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.001986/0.008392, allocations: 0.5181 MB / 0.8178 GB, free: 12 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.312404524069279]