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.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.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.00106/0.00106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001215/0.001215, allocations: 193.9 kB / 16.26 MB, free: 6.621 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.774/2.774, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 64.05 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.6866, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002353/0.689, allocations: 0.7316 MB / 1.018 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.6901, allocations: 0.8079 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.6902, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.6902, allocations: 4 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.6903, allocations: 7.938 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.6905, allocations: 7.984 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.6905, allocations: 27.92 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.6907, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.6907, allocations: 15.92 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.6908, allocations: 11.98 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.6908, allocations: 0 / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.6908, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.6908, allocations: 3.938 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.6909, allocations: 15.98 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.691, allocations: 23.91 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.691, allocations: 3.938 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.885e-06/0.691, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.691, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 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.0005785/0.6916, allocations: 333.4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.6917, allocations: 12.03 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.6917, allocations: 0.9375 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.6919, allocations: 164.3 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6919, allocations: 8.375 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6919, allocations: 4.312 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.6921, allocations: 50.23 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.6921, allocations: 192 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6921, allocations: 3.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6921, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.6923, allocations: 35.95 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.6927, allocations: 245 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6928, allocations: 46.42 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.6929, allocations: 20.91 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.693, allocations: 7.922 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.693, allocations: 38.56 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.693, allocations: 0 / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.6934, allocations: 77.64 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.6934, allocations: 55.41 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.6935, allocations: 105.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.6935, allocations: 25.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.6936, allocations: 88.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.6936, allocations: 3.906 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.6937, allocations: 17.72 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6938, allocations: 310.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.6939, allocations: 19.97 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.694, allocations: 15.98 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.6941, allocations: 40.89 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6941, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.6944, allocations: 65.59 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.6944, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6944, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6944, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.6945, allocations: 12.02 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6945, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.6946, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.6946, allocations: 7.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 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 8.918e-05/0.6947, allocations: 114.3 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.6947, allocations: 3.906 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.695, allocations: 76.72 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.695, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.695, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.695, allocations: 192 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.6952, allocations: 161.6 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6952, allocations: 3.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.39e-05/0.6952, allocations: 19.94 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.6953, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.6953, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6953, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6953, allocations: 32 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.6955, allocations: 167.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.6956, allocations: 81.09 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.6956, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.6957, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.6957, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.6957, allocations: 4.031 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.6958, allocations: 79.28 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6958, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.696, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 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.0001323/0.6961, allocations: 95.25 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.6964, allocations: 51.89 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6964, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.6965, allocations: 15.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.6968, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.6971, allocations: 118.1 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.6973, allocations: 0.6769 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.6974, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.6974, allocations: 11.44 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6974, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002439/0.6998, allocations: 380.3 kB / 1.022 GB, free: 12.9 MB / 0.7794 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 -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/jenkins/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