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.001476/0.001476, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001612/0.001612, allocations: 165 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 0.9635/0.9635, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.837/1.837, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.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 4.048e-06/4.048e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.573e-05/4.977e-05, allocations: 3.188 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001737/0.001786, allocations: 0.724 MB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003132, allocations: 0.8829 MB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.003177, allocations: 4 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.003212, allocations: 0.7812 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.003299, allocations: 11.86 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.003525, allocations: 21.61 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.003625, allocations: 47.91 kB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.003721, allocations: 7.875 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.003807, allocations: 19.98 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.003851, allocations: 29.42 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.00387, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.003923, allocations: 8 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.003941, allocations: 8 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.003967, allocations: 17.67 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.004085, allocations: 27.95 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004089, allocations: 0 / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00409, allocations: 0 / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004094, allocations: 0 / 0.8134 GB, free: 15.88 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.0004228/0.004517, allocations: 381.7 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.004579, allocations: 12.03 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.004717, allocations: 10.48 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.004817, allocations: 120.5 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.00483, allocations: 4.312 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.00484, allocations: 4.312 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.005006, allocations: 69.53 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.005013, allocations: 192 / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.005024, allocations: 384 / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.005032, allocations: 384 / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.005065, allocations: 11.94 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.005406, allocations: 263.8 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.005493, allocations: 31.72 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.005521, allocations: 15.69 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.00554, allocations: 0.5312 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.005564, allocations: 43.05 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.005565, allocations: 0 / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.005742, allocations: 49.67 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.005773, allocations: 55.34 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.005869, allocations: 169.9 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.005884, allocations: 30.3 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.005937, allocations: 131.4 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.005963, allocations: 11.89 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.005995, allocations: 20.25 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.006132, allocations: 0.4884 MB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.006155, allocations: 5.141 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.00617, allocations: 4 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.00621, allocations: 15.69 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006212, allocations: 1.375 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.895e-05/0.006291, allocations: 49.58 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.00631, allocations: 7.938 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.006315, allocations: 320 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.006328, allocations: 5.391 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.006432, allocations: 11.98 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.00644, allocations: 0.875 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.006468, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.006479, allocations: 4.828 kB / 0.8153 GB, free: 13.67 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 7.631e-05/0.006555, allocations: 152.6 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.006572, allocations: 14.09 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.006678, allocations: 53.62 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.00668, allocations: 3.938 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006684, allocations: 0 / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006687, allocations: 0 / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.006802, allocations: 132.5 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006803, allocations: 0.5 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.006845, allocations: 14.58 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006847, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.006854, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.006857, allocations: 3.938 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.006859, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.00697, allocations: 187.9 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.006977, allocations: 4 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.006988, allocations: 1.688 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.007028, allocations: 11.92 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.007067, allocations: 7.984 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.007071, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.007108, allocations: 123.7 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007108, allocations: 0.5625 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001425/0.007251, allocations: 15.89 kB / 0.816 GB, free: 12.89 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 9.871e-05/0.007349, allocations: 92.91 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.007456, allocations: 27.67 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007458, allocations: 0.8125 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.007481, allocations: 11.69 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.007688, allocations: 15.39 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.008216, allocations: 153.9 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.008259, allocations: 51.36 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.008284, allocations: 4 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.008323, allocations: 8.5 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.008324, allocations: 0 / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of Templates: time 0.002803/0.01113, allocations: 0.7828 MB / 0.8172 GB, free: 11.71 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.12467995705083]