Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001293/0.001292, allocations: 116.4 kB / 16.37 MB, free: 6 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.001257/0.001257, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.75 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2888, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.00187/0.2907, allocations: 0.6761 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.2915, allocations: 0.8103 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.2916, allocations: 0 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.2917, allocations: 7.875 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.2917, allocations: 3.938 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.2919, allocations: 11.98 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.292, allocations: 19.98 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2921, allocations: 11.92 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.2921, allocations: 8 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.2922, allocations: 19.86 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2922, allocations: 4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.2922, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.2922, allocations: 4 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.2923, allocations: 11.92 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.757e-05/0.2924, allocations: 19.91 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2924, allocations: 0 / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2924, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2924, allocations: 0 / 1.028 GB, free: 404 kB / 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.0004484/0.2928, allocations: 340.7 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2929, allocations: 8.031 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.2929, allocations: 8.891 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.293, allocations: 160.4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2931, allocations: 384 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2931, allocations: 384 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2932, allocations: 54.12 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2933, allocations: 192 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2933, allocations: 3.938 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2933, allocations: 8 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.2934, allocations: 31.95 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.2937, allocations: 245 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2939, allocations: 42.48 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.294, allocations: 32.84 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.294, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.294, allocations: 30.56 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.294, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003146/0.2943, allocations: 81.64 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2944, allocations: 55.53 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.2945, allocations: 101.8 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2945, allocations: 25.7 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2945, allocations: 84.14 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2945, allocations: 3.906 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2946, allocations: 17.72 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.2947, allocations: 310.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.2948, allocations: 27.91 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.2948, allocations: 15.98 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.295, allocations: 36.83 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.295, allocations: 3.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.2952, allocations: 73.56 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2952, allocations: 8.031 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.2952, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2952, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.2953, allocations: 16.11 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2953, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.2954, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2954, allocations: 3.938 kB / 1.03 GB, free: 14.37 MB / 0.8106 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 6.49e-05/0.2954, allocations: 125.7 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.2955, allocations: 7.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.2957, allocations: 68.78 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2957, allocations: 4 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2957, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2957, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2959, allocations: 157.6 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2959, allocations: 3.984 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.296, allocations: 4 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.296, allocations: 8.031 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.296, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.296, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.296, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.2962, allocations: 163.4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2963, allocations: 85 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2963, allocations: 4.031 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.2963, allocations: 8 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.2964, allocations: 3.984 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2964, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.2964, allocations: 75.28 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2964, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002109/0.2967, allocations: 3.938 kB / 1.031 GB, free: 13.55 MB / 0.8106 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.0001242/0.2968, allocations: 103.2 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.297, allocations: 43.89 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.297, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.2971, allocations: 15.98 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.2973, allocations: 7.938 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.2976, allocations: 116.8 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2978, allocations: 0.6807 MB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.2978, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.2979, allocations: 7.438 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2979, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.002219/0.3001, allocations: 436.5 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches