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.001023/0.001023, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001584/0.001584, allocations: 161 kB / 23.82 MB, free: 0.75 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.049/1.049, allocations: 177.1 MB / 204.2 MB, free: 5.254 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 2.001/2.001, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.074e-06/2.074e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.543e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001395/0.00142, allocations: 0.6829 MB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.002274, allocations: 0.8711 MB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.002303, allocations: 0 / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.00233, allocations: 5.016 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.00239, allocations: 3.938 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.002571, allocations: 9.031 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.002635, allocations: 23.92 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.002722, allocations: 7.984 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.002789, allocations: 16.7 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.002827, allocations: 7.984 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.002845, allocations: 5.688 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.002891, allocations: 11.94 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.002906, allocations: 0 / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.002922, allocations: 4 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.003037, allocations: 27.95 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003039, allocations: 1.531 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003041, allocations: 0 / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003044, allocations: 0 / 0.8132 GB, free: 15.99 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.0003012/0.003346, allocations: 360.5 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.00338, allocations: 8.594 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.003469, allocations: 5.906 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.003542, allocations: 116.5 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.003552, allocations: 4.375 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.003562, allocations: 1.969 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.003669, allocations: 50.95 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003677, allocations: 192 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.003686, allocations: 384 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.003693, allocations: 6.969 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.00372, allocations: 3.938 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.003979, allocations: 251.8 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.004024, allocations: 27.06 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.004048, allocations: 11.75 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.004065, allocations: 4 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.004084, allocations: 37.92 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004085, allocations: 0.7188 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003823/0.004467, allocations: 54.03 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.004494, allocations: 53.06 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.00458, allocations: 157.9 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.004591, allocations: 25.7 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.004641, allocations: 138.8 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.004661, allocations: 7.953 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.004688, allocations: 15.88 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.004823, allocations: 496.7 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.004839, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.00485, allocations: 4.781 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.004886, allocations: 20.83 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.004888, allocations: 0 / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.462e-05/0.004953, allocations: 39.02 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.00497, allocations: 4 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.004975, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.004991, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.005073, allocations: 13.73 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.005079, allocations: 0 / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.005098, allocations: 3.938 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.005107, allocations: 8 kB / 0.8151 GB, free: 13.9 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 8.21e-05/0.005189, allocations: 153.5 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.005207, allocations: 0 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.005317, allocations: 57.72 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005319, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.005324, allocations: 2.219 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.005327, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.005428, allocations: 116.6 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.005429, allocations: 4 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.005458, allocations: 8 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.00546, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.005466, allocations: 2.781 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.005468, allocations: 3.938 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.005471, allocations: 3.984 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.005563, allocations: 180 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.005567, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005578, allocations: 4 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.005613, allocations: 11.92 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.005649, allocations: 1.469 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-06/0.005652, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.005684, allocations: 127.1 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005684, allocations: 3.938 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001372/0.005822, allocations: 4.5 kB / 0.8157 GB, free: 13.17 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 7.889e-05/0.005901, allocations: 101.2 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.005969, allocations: 15.69 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00597, allocations: 0 / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.005985, allocations: 12.19 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.00617, allocations: 13.05 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.006599, allocations: 127.6 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.006638, allocations: 55.05 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.535e-05/0.006654, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.006681, allocations: 12.5 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.006681, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002039/0.00872, allocations: 482.3 kB / 0.8165 GB, free: 12.34 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.3895720527507365]