Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 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.001259/0.001259, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.202/3.202, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.16 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3796, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002005/0.3817, allocations: 0.7002 MB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.3826, allocations: 0.8373 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.3827, allocations: 4 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.3827, allocations: 3.938 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.3828, allocations: 7.922 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.383, allocations: 19.97 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.3831, allocations: 47.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3832, allocations: 11.98 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.3833, allocations: 19.92 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.3833, allocations: 19.92 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3833, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.3834, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.3834, allocations: 8 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.3834, allocations: 23.86 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.3835, allocations: 35.86 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3835, allocations: 4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3835, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3836, allocations: 0 / 1.07 GB, free: 8.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005126/0.3841, allocations: 366.1 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3841, allocations: 8.031 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3842, allocations: 4.844 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3843, allocations: 168.3 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3843, allocations: 8.312 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3843, allocations: 4.375 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3846, allocations: 66.22 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3846, allocations: 192 / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3846, allocations: 11.92 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3846, allocations: 7.938 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.3849, allocations: 55.94 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3853, allocations: 268.9 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3855, allocations: 62.41 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3857, allocations: 36.92 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3857, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3857, allocations: 42.55 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3857, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005385/0.3863, allocations: 125.6 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3863, allocations: 55.34 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.3864, allocations: 105.8 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3864, allocations: 25.7 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.3865, allocations: 100 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3865, allocations: 11.83 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3866, allocations: 17.72 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3867, allocations: 310.8 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3868, allocations: 35.95 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.387, allocations: 27.97 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.3872, allocations: 72.78 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3873, allocations: 3.938 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003048/0.3876, allocations: 97.89 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3876, allocations: 8 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3876, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3876, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3878, allocations: 19.97 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3878, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.3879, allocations: 11.98 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3879, allocations: 3.984 kB / 1.072 GB, free: 6.277 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 (3): * Single equations (assignments): 3 * 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.633e-05/0.388, allocations: 118.3 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.388, allocations: 7.906 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.3884, allocations: 105.5 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3884, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3884, allocations: 3.938 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3884, allocations: 3.984 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3886, allocations: 173.5 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3886, allocations: 4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/0.3887, allocations: 15.98 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3887, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3887, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3887, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3887, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.3891, allocations: 199.4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.3891, allocations: 88.95 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3891, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3892, allocations: 11.98 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3893, allocations: 3.984 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3893, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.3893, allocations: 91.27 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.272e-06/0.3893, allocations: 3.938 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002115/0.3896, allocations: 15.94 kB / 1.073 GB, free: 5.34 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 (3): * Single equations (assignments): 3 * 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.000143/0.3897, allocations: 95.25 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3901, allocations: 71.92 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3901, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3902, allocations: 35.97 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3906, allocations: 13.64 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.3909, allocations: 141.8 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3912, allocations: 0.6807 MB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.3912, allocations: 7.984 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3912, allocations: 7.438 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3912, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of Templates: time 0.002719/0.394, allocations: 0.6836 MB / 1.074 GB, free: 3.559 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches