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.001738/0.001738, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.002101/0.002101, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 67.89 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9286, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002179/0.9308, allocations: 0.6611 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.932, allocations: 0.8156 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.9321, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.9321, allocations: 3.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.9322, allocations: 3.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.9324, allocations: 7.984 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.9324, allocations: 27.91 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.9326, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.9326, allocations: 11.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.9327, allocations: 8 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.9327, allocations: 8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.9327, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.9327, allocations: 7.984 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.9328, allocations: 7.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.9329, allocations: 27.89 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9329, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9329, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9329, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 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.0005221/0.9334, allocations: 343.3 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9335, allocations: 12.03 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.9335, allocations: 0.9375 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.9337, allocations: 168.4 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.9337, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.9337, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.9339, allocations: 50.19 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9339, allocations: 4.172 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.9339, allocations: 3.938 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9339, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.9341, allocations: 35.97 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.9345, allocations: 240.9 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.9346, allocations: 50.47 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.9347, allocations: 20.91 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.9348, allocations: 8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.9348, allocations: 30.56 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.9348, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.9352, allocations: 81.55 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.9352, allocations: 55.34 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.9353, allocations: 106 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.9354, allocations: 29.64 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.9354, allocations: 84.14 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.9355, allocations: 7.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.9355, allocations: 13.66 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9356, allocations: 314.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.9357, allocations: 19.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.9358, allocations: 15.98 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.936, allocations: 40.83 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.936, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001997/0.9362, allocations: 69.78 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9362, allocations: 5.875 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.9362, allocations: 4.094 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.9362, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.9363, allocations: 19.91 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9363, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.9364, allocations: 7.984 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.9364, allocations: 0 / 1.212 GB, free: 9.953 MB / 0.9356 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.733e-05/0.9365, allocations: 109.8 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.9365, allocations: 8 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.9368, allocations: 72.78 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.9368, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9368, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9368, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.937, allocations: 161.6 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.937, allocations: 4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.9371, allocations: 7.984 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.9371, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.9371, allocations: 7.969 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.9371, allocations: 0 / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9371, allocations: 4 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.9374, allocations: 163.4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.9374, allocations: 82.94 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.9374, allocations: 0 / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.9375, allocations: 12.02 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.9376, allocations: 3.938 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.9376, allocations: 0 / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.9376, allocations: 83.28 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9376, allocations: 0 / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002253/0.9379, allocations: 4 kB / 1.212 GB, free: 9.145 MB / 0.9356 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.0001577/0.938, allocations: 103.2 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.9383, allocations: 39.91 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9383, allocations: 0 / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.9384, allocations: 19.98 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.9387, allocations: 11.86 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.9391, allocations: 139.7 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.9394, allocations: 0.6769 MB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.9395, allocations: 11.44 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9395, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.001988/0.9415, allocations: 0.5335 MB / 1.214 GB, free: 7.543 MB / 0.9356 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/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