Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001121/0.001121, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.09 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001878/0.2884, allocations: 0.6611 MB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.2893, allocations: 0.8157 MB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.2893, allocations: 0 / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2894, allocations: 4 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.2894, allocations: 3.938 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.2896, allocations: 8 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.2897, allocations: 27.86 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2898, allocations: 11.97 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.2898, allocations: 8 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.2899, allocations: 11.92 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.2899, allocations: 4 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.2899, allocations: 0 / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2899, allocations: 4 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.29, allocations: 11.94 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.719e-05/0.29, allocations: 23.89 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2901, allocations: 0 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2901, allocations: 0 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2901, allocations: 3.938 kB / 1.02 GB, free: 8.262 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004487/0.2905, allocations: 343.4 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2906, allocations: 8.922 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2906, allocations: 8.828 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2907, allocations: 168.4 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2907, allocations: 384 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2908, allocations: 384 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2909, allocations: 54.22 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2909, allocations: 192 / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.291, allocations: 3.938 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.291, allocations: 0 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2911, allocations: 35.97 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.2914, allocations: 256.8 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2916, allocations: 34.5 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.2916, allocations: 24.91 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2917, allocations: 3.984 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2917, allocations: 34.56 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2917, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003224/0.292, allocations: 81.59 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2921, allocations: 55.39 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.2921, allocations: 97.86 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2922, allocations: 25.83 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.2922, allocations: 88.14 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.2922, allocations: 3.906 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.2923, allocations: 17.7 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2924, allocations: 314.8 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.2925, allocations: 11.98 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.2925, allocations: 15.98 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2927, allocations: 44.88 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2927, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.2929, allocations: 73.45 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2929, allocations: 7.984 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2929, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2929, allocations: 3.938 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.293, allocations: 12.03 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.293, allocations: 0 / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.2931, allocations: 7.984 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.2931, allocations: 0 / 1.022 GB, free: 6.234 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 (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 7.284e-05/0.2932, allocations: 113.8 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.2932, allocations: 4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.2934, allocations: 80.7 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2934, allocations: 0 / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2934, allocations: 4 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2934, allocations: 4 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2936, allocations: 157.6 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2936, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.2936, allocations: 7.984 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2936, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2937, allocations: 4 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2937, allocations: 0 / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2937, allocations: 4.031 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2939, allocations: 159.5 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.2939, allocations: 77.11 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2939, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.294, allocations: 15.86 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2941, allocations: 4.031 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2941, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.2941, allocations: 83.45 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2941, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002111/0.2943, allocations: 7.938 kB / 1.023 GB, free: 5.418 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 (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 0.0001179/0.2945, allocations: 99.25 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.2947, allocations: 39.97 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2947, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.2948, allocations: 19.97 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.295, allocations: 8.078 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.2953, allocations: 114 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2955, allocations: 0.6768 MB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.2956, allocations: 8.125 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.2956, allocations: 7.438 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2956, allocations: 3.938 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of Templates: time 0.002394/0.298, allocations: 434.4 kB / 1.024 GB, free: 3.969 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches