Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.001452/0.001452, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001801/0.001801, allocations: 185.3 kB / 24.09 MB, free: 416 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.906/1.906, allocations: 377.9 MB / 0.624 GB, free: 8.422 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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8121 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.388e-05, allocations: 3.516 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001592/0.001616, allocations: 0.7151 MB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008697/0.002486, allocations: 0.882 MB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.002538, allocations: 1.219 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.002574, allocations: 3.938 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.002661, allocations: 11.88 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.002846, allocations: 20.59 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.002919, allocations: 45.25 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.003006, allocations: 15.92 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.00309, allocations: 23.92 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.003128, allocations: 11.98 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.003142, allocations: 4.844 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.003189, allocations: 8 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003206, allocations: 8.547 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.003223, allocations: 19.86 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.003317, allocations: 36.64 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003318, allocations: 0.9062 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003319, allocations: 0 / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.003323, allocations: 0 / 0.8138 GB, free: 15.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003489/0.003672, allocations: 381.2 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.00371, allocations: 9.375 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.003799, allocations: 12.83 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.814e-05/0.003887, allocations: 116.5 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.003899, allocations: 8.375 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-06/0.003906, allocations: 1.156 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.004046, allocations: 63.88 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004054, allocations: 192 / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004063, allocations: 12.28 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004069, allocations: 5.25 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.004091, allocations: 7.938 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.004328, allocations: 241.7 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.004406, allocations: 31.12 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.004426, allocations: 17.31 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.004446, allocations: 8.016 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.004467, allocations: 37.39 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004468, allocations: 0 / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001349/0.004602, allocations: 50.72 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.004631, allocations: 55.39 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.004707, allocations: 165.9 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.004717, allocations: 26.55 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.004772, allocations: 134.9 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.004794, allocations: 11.89 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.004827, allocations: 20 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.004963, allocations: 0.4895 MB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.00498, allocations: 4 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.004991, allocations: 3.938 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.005024, allocations: 13.5 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005025, allocations: 4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.619e-05/0.005091, allocations: 45.64 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.005104, allocations: 4 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.00511, allocations: 4 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.005124, allocations: 5.469 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.0052, allocations: 11.98 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005202, allocations: 0 / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.005224, allocations: 4 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005228, allocations: 4.5 kB / 0.8158 GB, free: 13.42 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 (3): * Single equations (assignments): 3 * 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.02e-05/0.005289, allocations: 161.1 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.005301, allocations: 9.344 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.00538, allocations: 45.69 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005383, allocations: 7.938 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005385, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005388, allocations: 0.9062 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.638e-05/0.005484, allocations: 105.8 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.005485, allocations: 0 / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.005518, allocations: 13.95 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005519, allocations: 0 / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005526, allocations: 8 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005526, allocations: 0 / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.00553, allocations: 3.984 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.005621, allocations: 196.4 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.005626, allocations: 0.7188 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.005635, allocations: 4 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.005677, allocations: 9.203 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.005715, allocations: 7.938 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005719, allocations: 0 / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.005758, allocations: 136.1 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005758, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001357/0.005894, allocations: 8.766 kB / 0.8165 GB, free: 12.66 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 (3): * Single equations (assignments): 3 * 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.0005807/0.006475, allocations: 96.19 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.006544, allocations: 27.61 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006546, allocations: 1.344 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.006563, allocations: 11.69 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.006754, allocations: 11.36 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.007116, allocations: 140.5 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.285e-05/0.007149, allocations: 59.34 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.007168, allocations: 0 / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.00722, allocations: 77.62 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.00722, allocations: 0 / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.002376/0.009596, allocations: 0.7942 MB / 0.8176 GB, free: 11.43 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.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.1382957408204675]