Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 108.4 kB / 15.99 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 194.9 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.47 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002156/0.3106, allocations: 0.7729 MB / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3117, allocations: 0.8327 MB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.3117, allocations: 0 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3118, allocations: 0 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.3119, allocations: 3.938 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.312, allocations: 23.97 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.3121, allocations: 43.8 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3123, allocations: 11.98 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.3123, allocations: 19.92 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.3124, allocations: 19.92 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.3124, allocations: 4 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.3124, allocations: 4 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3125, allocations: 7.984 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.3125, allocations: 15.88 kB / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.3126, allocations: 39.92 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3126, allocations: 4 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3126, allocations: 0 / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3126, allocations: 0 / 1.019 GB, free: 9.18 MB / 0.795 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.0005505/0.3132, allocations: 359.6 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3133, allocations: 8.922 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3133, allocations: 4.938 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3134, allocations: 176.2 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3134, allocations: 4.375 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3135, allocations: 4.312 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.3137, allocations: 70.22 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3137, allocations: 192 / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3138, allocations: 3.938 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3138, allocations: 0 / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.3141, allocations: 67.92 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.3144, allocations: 261 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3147, allocations: 70.34 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.3148, allocations: 40.92 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3148, allocations: 0 / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3149, allocations: 34.55 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3149, allocations: 0 / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005175/0.3154, allocations: 133.5 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3155, allocations: 55.34 kB / 1.02 GB, free: 7.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.3156, allocations: 113.8 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3156, allocations: 25.7 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.3156, allocations: 80.14 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3157, allocations: 15.81 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3157, allocations: 13.7 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3158, allocations: 322.8 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.316, allocations: 27.97 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3161, allocations: 35.95 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3164, allocations: 68.78 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3164, allocations: 3.938 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003252/0.3167, allocations: 101.5 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3168, allocations: 8 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3168, allocations: 0 / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3168, allocations: 0 / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3169, allocations: 15.98 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.317, allocations: 4 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-05/0.317, allocations: 15.97 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3171, allocations: 4 kB / 1.021 GB, free: 6.848 MB / 0.795 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 9.136e-05/0.3171, allocations: 113.8 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3172, allocations: 7.906 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.3175, allocations: 105.5 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3175, allocations: 0 / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3176, allocations: 4 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3176, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3178, allocations: 181.4 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3178, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.3179, allocations: 11.98 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3179, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3179, allocations: 8 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3179, allocations: 4 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3179, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3183, allocations: 191.4 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3183, allocations: 81.02 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.3184, allocations: 4 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3185, allocations: 11.98 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.3185, allocations: 16.34 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3185, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.3186, allocations: 87.28 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3186, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002224/0.3188, allocations: 4 kB / 1.022 GB, free: 5.93 MB / 0.795 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.0001384/0.319, allocations: 107.2 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.3193, allocations: 75.91 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3193, allocations: 0 / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3195, allocations: 31.97 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3198, allocations: 13.62 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.3202, allocations: 171.7 kB / 1.022 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3205, allocations: 0.6846 MB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3205, allocations: 11.44 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of SimCode: time 7.72e-07/0.3206, allocations: 0 / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of Templates: time 0.002084/0.3227, allocations: 0.751 MB / 1.024 GB, free: 4.031 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches