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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009591/0.009591, allocations: 101.1 kB / 15.73 MB, free: 6.043 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: 190.6 kB / 16.67 MB, free: 5.977 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.904/2.904, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 63.91 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4176, allocations: 157.4 MB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002031/0.4197, allocations: 0.6711 MB / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4208, allocations: 0.804 MB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.4208, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.4209, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.421, allocations: 7.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.4212, allocations: 7.984 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.4213, allocations: 31.91 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4214, allocations: 8 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.4215, allocations: 7.922 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.4215, allocations: 8 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.4216, allocations: 4 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.4216, allocations: 0 / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.4216, allocations: 11.92 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.4217, allocations: 4 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.4218, allocations: 31.83 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4218, allocations: 0 / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4218, allocations: 3.938 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.4218, allocations: 0 / 1.209 GB, free: 7.918 MB / 0.9669 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.0005706/0.4224, allocations: 343.4 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4224, allocations: 8.625 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.4225, allocations: 0.9375 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.4226, allocations: 168.4 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4226, allocations: 8.375 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4226, allocations: 384 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.4228, allocations: 46.25 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.4228, allocations: 192 / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4228, allocations: 7.922 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4229, allocations: 0 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.423, allocations: 35.91 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.4234, allocations: 252.8 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4236, allocations: 42.53 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.4237, allocations: 16.91 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4237, allocations: 4 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.4237, allocations: 34.56 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4237, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003676/0.4241, allocations: 81.58 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4242, allocations: 51.41 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.4242, allocations: 101.8 kB / 1.21 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4243, allocations: 25.7 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.4243, allocations: 80.14 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.4244, allocations: 16.03 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.4244, allocations: 9.719 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4245, allocations: 318.8 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.4246, allocations: 15.98 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.4247, allocations: 11.98 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4248, allocations: 40.89 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4249, allocations: 3.938 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.4251, allocations: 73.59 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4251, allocations: 5.719 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4251, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4251, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.4252, allocations: 11.98 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4252, allocations: 4.031 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.4253, allocations: 7.984 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4253, allocations: 0 / 1.211 GB, free: 5.898 MB / 0.9669 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.083e-05/0.4254, allocations: 109.8 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.4254, allocations: 4 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.4256, allocations: 72.72 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4256, allocations: 7.969 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4256, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4257, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.4258, allocations: 165.6 kB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4258, allocations: 0 / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.4259, allocations: 4.188 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4259, allocations: 3.984 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.4259, allocations: 3.938 kB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4259, allocations: 4 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4259, allocations: 7.984 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4262, allocations: 171.3 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.4262, allocations: 81.11 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.4262, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.4263, allocations: 7.984 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.4264, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.4264, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.4264, allocations: 87.31 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4264, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002094/0.4266, allocations: 7.938 kB / 1.212 GB, free: 5.078 MB / 0.9669 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.0001673/0.4268, allocations: 103.2 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.427, allocations: 31.97 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4271, allocations: 0 / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.4271, allocations: 24.05 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.4274, allocations: 11.86 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.4278, allocations: 114 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.428, allocations: 0.6768 MB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.428, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.4281, allocations: 11.44 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.4281, allocations: 4.062 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of Templates: time 0.002537/0.4306, allocations: 431.2 kB / 1.213 GB, free: 3.621 MB / 0.9669 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 -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/jenkins/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