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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001718/0.001718, allocations: 198.6 kB / 16.14 MB, free: 6.645 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.551/1.551, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.108/3.108, allocations: 472.7 MB / 0.7447 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 72.23 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.4683, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002637/0.471, allocations: 0.7243 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4722, allocations: 0.8157 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.4723, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.4723, allocations: 3.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.4724, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.4726, allocations: 8 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.4727, allocations: 19.92 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4728, allocations: 8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.4729, allocations: 19.91 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.4729, allocations: 8 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.473, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.473, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.473, allocations: 11.92 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.4731, allocations: 7.938 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.779e-05/0.4732, allocations: 11.97 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4732, allocations: 4 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4732, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4732, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 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.0005108/0.4737, allocations: 335.7 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4737, allocations: 12.03 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.4738, allocations: 0.9375 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4739, allocations: 180.3 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.474, allocations: 384 / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.474, allocations: 384 / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.4742, allocations: 50.23 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4742, allocations: 192 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4742, allocations: 3.938 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4742, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.4744, allocations: 39.91 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.4748, allocations: 249 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4749, allocations: 42.44 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.475, allocations: 24.91 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4751, allocations: 0 / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4751, allocations: 34.56 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4751, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003614/0.4755, allocations: 85.48 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4755, allocations: 51.41 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.4756, allocations: 106 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4756, allocations: 29.64 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.4757, allocations: 84.14 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4757, allocations: 7.906 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.4758, allocations: 9.719 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4759, allocations: 318.8 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.476, allocations: 15.98 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.4761, allocations: 15.98 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4762, allocations: 40.81 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4762, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.4764, allocations: 73.55 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4764, allocations: 4.094 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4765, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4765, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.4766, allocations: 11.98 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4766, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.4766, allocations: 7.984 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4767, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 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.986e-05/0.4767, allocations: 111.5 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4768, allocations: 4 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.477, allocations: 72.78 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.477, allocations: 3.938 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.477, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.477, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4772, allocations: 161.6 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4772, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.4773, allocations: 7.984 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4773, allocations: 3.938 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4773, allocations: 8.031 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4773, allocations: 4 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4773, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4776, allocations: 167.4 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4776, allocations: 77.3 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.4777, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.4777, allocations: 12.02 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4778, allocations: 3.984 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4778, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.4779, allocations: 83.28 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4779, allocations: 3.938 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002202/0.4781, allocations: 7.938 kB / 1.072 GB, free: 6.293 MB / 0.8262 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.0001714/0.4783, allocations: 104.8 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4785, allocations: 35.97 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4785, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.4786, allocations: 23.92 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.4789, allocations: 13.02 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.4793, allocations: 108.2 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4796, allocations: 0.677 MB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.4796, allocations: 3.984 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.4796, allocations: 15.38 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4796, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.002466/0.4821, allocations: 357.3 kB / 1.073 GB, free: 4.91 MB / 0.8262 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