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.0009575/0.0009575, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009975/0.0009975, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.866/1.866, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.562e-06/1.562e-06, allocations: 0 / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.053e-05, allocations: 3.219 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001175/0.001196, allocations: 0.6806 MB / 0.8123 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.001992, allocations: 0.8625 MB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.002026, allocations: 1.656 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.002051, allocations: 3.938 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.002116, allocations: 11.98 kB / 0.8131 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.002289, allocations: 11.92 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.002358, allocations: 25.48 kB / 0.8132 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.002444, allocations: 4 kB / 0.8132 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.002521, allocations: 15.92 kB / 0.8132 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.002555, allocations: 7.984 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.002571, allocations: 5.188 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.002615, allocations: 11.94 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.002629, allocations: 0 / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.002647, allocations: 13.58 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.222e-05/0.002739, allocations: 19.91 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002742, allocations: 0 / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002742, allocations: 0 / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002746, allocations: 0.7188 kB / 0.8132 GB, free: 356 kB / 0.7605 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.0003431/0.00309, allocations: 360.7 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.003128, allocations: 12.56 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.003221, allocations: 2.594 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.00331, allocations: 108.6 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003322, allocations: 4.359 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.003331, allocations: 8.375 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.003464, allocations: 51.55 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.003473, allocations: 192 / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.003483, allocations: 5.438 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.003492, allocations: 384 / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.003532, allocations: 7.938 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.003839, allocations: 245 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.003887, allocations: 35 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.003907, allocations: 9.062 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.003924, allocations: 0 / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.003946, allocations: 41.45 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003947, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.004087, allocations: 47.33 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.004115, allocations: 51.41 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.004186, allocations: 157.9 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.004195, allocations: 29.7 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.004237, allocations: 132.8 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.004254, allocations: 7.891 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.004278, allocations: 27.31 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.004385, allocations: 492.1 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.004398, allocations: 0 / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.004407, allocations: 4.688 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.004433, allocations: 18.09 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004435, allocations: 0 / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.463e-05/0.004479, allocations: 37.69 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.004491, allocations: 4 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.004496, allocations: 3.938 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.004509, allocations: 5.875 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.004567, allocations: 7.938 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.004573, allocations: 3.984 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.00459, allocations: 7.938 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.004595, allocations: 0 / 0.8151 GB, free: 14.26 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 6.023e-05/0.004655, allocations: 157.1 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.004669, allocations: 4.531 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.004746, allocations: 46.97 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004747, allocations: 0 / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.00475, allocations: 7.984 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.004753, allocations: 0 / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.337e-05/0.004836, allocations: 124.5 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004837, allocations: 2.531 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.004855, allocations: 4 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004856, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004862, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.004863, allocations: 3.938 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.004865, allocations: 3.938 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/0.004939, allocations: 189.1 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.004944, allocations: 0 / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.004955, allocations: 4 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.998e-05/0.004985, allocations: 8.641 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.005017, allocations: 4 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.00502, allocations: 4.625 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.005049, allocations: 120 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005049, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001333/0.005182, allocations: 7.938 kB / 0.8157 GB, free: 13.52 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 6.673e-05/0.005249, allocations: 102.9 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.005322, allocations: 19.62 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.005324, allocations: 4 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.005338, allocations: 7.688 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.00551, allocations: 7.938 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.005896, allocations: 128.4 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.005928, allocations: 51.36 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.626e-05/0.005944, allocations: 4.938 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.005966, allocations: 8.5 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.005967, allocations: 0 / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.001939/0.007905, allocations: 484.1 kB / 0.8165 GB, free: 12.68 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.194765236927196]