Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001443/0.001443, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.002132/0.002132, allocations: 173 kB / 23.49 MB, free: 1.059 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.9768/0.9768, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.175/2.175, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8783 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.146e-05, allocations: 4.844 kB / 0.8783 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001254/0.001275, allocations: 0.7207 MB / 0.879 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.002103, allocations: 0.8855 MB / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.002142, allocations: 4.5 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.002168, allocations: 3.938 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.002237, allocations: 10.89 kB / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.00243, allocations: 23.91 kB / 0.8799 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.002509, allocations: 39.86 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.311e-05/0.002592, allocations: 15.92 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.002662, allocations: 25.27 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.002698, allocations: 15.98 kB / 0.88 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.002718, allocations: 4 kB / 0.88 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.875e-05/0.002767, allocations: 8.828 kB / 0.88 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.002784, allocations: 11.98 kB / 0.88 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.002808, allocations: 15.92 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.002915, allocations: 28.62 kB / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002917, allocations: 1.594 kB / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002918, allocations: 0 / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002922, allocations: 0 / 0.88 GB, free: 4.805 MB / 0.8386 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.0003519/0.003274, allocations: 384.4 kB / 0.8804 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.003309, allocations: 10.41 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.0034, allocations: 8.938 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.003485, allocations: 128.4 kB / 0.8805 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.003495, allocations: 4.375 kB / 0.8805 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.003502, allocations: 384 / 0.8805 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.003629, allocations: 66.94 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.003634, allocations: 2.344 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.003642, allocations: 384 / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.003648, allocations: 384 / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.003679, allocations: 7.938 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.003952, allocations: 263.8 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/0.004017, allocations: 39.77 kB / 0.8809 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.00404, allocations: 15.69 kB / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.004057, allocations: 5.641 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.00408, allocations: 37.39 kB / 0.881 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.004081, allocations: 0 / 0.881 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001625/0.004243, allocations: 53.66 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.004273, allocations: 52.66 kB / 0.8811 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.004347, allocations: 165.9 kB / 0.8812 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.004356, allocations: 25.7 kB / 0.8812 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.004399, allocations: 138.9 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.004419, allocations: 15.83 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.004446, allocations: 23.38 kB / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.004546, allocations: 492.1 kB / 0.8819 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.004563, allocations: 4 kB / 0.8819 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.004578, allocations: 11.98 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.004608, allocations: 11.69 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00461, allocations: 0 / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.971e-05/0.00467, allocations: 49.62 kB / 0.882 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.004683, allocations: 7.938 kB / 0.882 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004686, allocations: 0 / 0.882 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.004698, allocations: 4 kB / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.00477, allocations: 8 kB / 0.882 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.004776, allocations: 7.984 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.004799, allocations: 7.938 kB / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.004804, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 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 5.682e-05/0.004861, allocations: 156.6 kB / 0.8821 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.004878, allocations: 7.953 kB / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.004964, allocations: 57.55 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.004967, allocations: 4 kB / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.00497, allocations: 4 kB / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.004972, allocations: 0 / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.697e-05/0.005059, allocations: 116.6 kB / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005061, allocations: 8 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.005092, allocations: 11.98 kB / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005094, allocations: 0 / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.005099, allocations: 0 / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005101, allocations: 3.938 kB / 0.8823 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005102, allocations: 0 / 0.8823 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.005201, allocations: 187.9 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.005208, allocations: 8.375 kB / 0.8825 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.005219, allocations: 8 kB / 0.8825 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.005258, allocations: 11.92 kB / 0.8826 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.005289, allocations: 3.938 kB / 0.8826 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.005292, allocations: 4 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.005329, allocations: 131.2 kB / 0.8827 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005329, allocations: 0 / 0.8827 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001387/0.005468, allocations: 8 kB / 0.8827 GB, free: 1.801 MB / 0.8386 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 6.648e-05/0.005534, allocations: 91.25 kB / 0.8828 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.892e-05/0.005613, allocations: 27.66 kB / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005614, allocations: 0 / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.005637, allocations: 19.69 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.005816, allocations: 7.984 kB / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.00626, allocations: 130.2 kB / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.006296, allocations: 59.34 kB / 0.883 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.006319, allocations: 8 kB / 0.883 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.006349, allocations: 12.5 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of SimCode: time 9.51e-07/0.00635, allocations: 0 / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of Templates: time 0.002062/0.008411, allocations: 0.7436 MB / 0.8838 GB, free: 0.6602 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.658969464944676]