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.001282/0.001283, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.031/3.031, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003919, allocations: 14.66 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3393, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.0009851/0.3403, allocations: 400.5 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3413, allocations: 0.8079 MB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.3414, allocations: 0 / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.3414, allocations: 0 / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.3415, allocations: 7.938 kB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3416, allocations: 11.98 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.3417, allocations: 19.94 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.3418, allocations: 7.984 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.3419, allocations: 11.94 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.342, allocations: 7.969 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.342, allocations: 4 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.342, allocations: 0 / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.342, allocations: 7.875 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.3421, allocations: 33.7 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.849e-05/0.3421, allocations: 19.95 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3422, allocations: 7.938 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3422, allocations: 0 / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.3422, allocations: 0 / 1.061 GB, free: 3.566 MB / 0.8106 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.0004251/0.3426, allocations: 335.7 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3426, allocations: 11.97 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.3427, allocations: 4.922 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3428, allocations: 168.3 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3428, allocations: 4.375 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.3428, allocations: 384 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.343, allocations: 58.17 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.343, allocations: 4.188 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.343, allocations: 3.938 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3431, allocations: 4 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.3433, allocations: 43.97 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.3436, allocations: 245 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3437, allocations: 50.48 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.3438, allocations: 32.84 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3438, allocations: 3.984 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3439, allocations: 30.56 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3439, allocations: 4 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003818/0.3443, allocations: 89.66 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3443, allocations: 59.52 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.3444, allocations: 101.9 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3444, allocations: 25.7 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.3445, allocations: 80.14 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3445, allocations: 7.906 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.3445, allocations: 13.7 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3446, allocations: 318.8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.3447, allocations: 19.98 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.3448, allocations: 23.98 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.345, allocations: 52.88 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.345, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002179/0.3452, allocations: 73.61 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3452, allocations: 8 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3453, allocations: 32 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3453, allocations: 7.984 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.3454, allocations: 11.94 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.3454, allocations: 3.938 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/0.3454, allocations: 11.98 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3455, allocations: 3.938 kB / 1.062 GB, free: 1.461 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 7.485e-05/0.3455, allocations: 113.8 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.3456, allocations: 11.91 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.3458, allocations: 72.78 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3458, allocations: 4 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3458, allocations: 3.984 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3458, allocations: 0 / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.346, allocations: 161.6 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.346, allocations: 0 / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.3461, allocations: 11.98 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3461, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3461, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3461, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3461, allocations: 7.938 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3464, allocations: 175.5 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.3464, allocations: 77.11 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3464, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.3465, allocations: 12.02 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3466, allocations: 4 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3466, allocations: 4 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.3466, allocations: 83.27 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3466, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000211/0.3468, allocations: 7.938 kB / 1.063 GB, free: 0.6289 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.0001345/0.347, allocations: 101.5 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3472, allocations: 47.91 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3472, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.3473, allocations: 27.97 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.3476, allocations: 12.06 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.3479, allocations: 148.5 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3482, allocations: 0.677 MB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3482, allocations: 7.438 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3482, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.001926/0.3501, allocations: 0.5384 MB / 1.065 GB, free: 15.01 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/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