Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 104.5 kB / 16.35 MB, free: 5.828 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.00116/0.00116, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.55 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3756, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002551/0.3782, allocations: 0.7092 MB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3795, allocations: 0.8372 MB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.3796, allocations: 0 / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.3797, allocations: 4 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.3798, allocations: 11.88 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.38, allocations: 15.97 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3801, allocations: 43.92 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3802, allocations: 7.984 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.3803, allocations: 23.86 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.859e-05/0.3804, allocations: 23.91 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3804, allocations: 4 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3805, allocations: 8 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.3805, allocations: 7.938 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.3805, allocations: 19.92 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3807, allocations: 35.88 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3807, allocations: 3.938 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3807, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3807, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 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.0005894/0.3813, allocations: 363.3 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3813, allocations: 12.03 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.3814, allocations: 4.938 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3815, allocations: 172.2 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3816, allocations: 8.375 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3816, allocations: 384 / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3819, allocations: 70.16 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3819, allocations: 4.172 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3819, allocations: 3.938 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3819, allocations: 4 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.3823, allocations: 63.94 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3827, allocations: 257 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.3829, allocations: 66.47 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.383, allocations: 36.86 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3831, allocations: 0 / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3831, allocations: 38.55 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3831, allocations: 0 / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004884/0.3836, allocations: 133.5 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3836, allocations: 51.41 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.3837, allocations: 109.8 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3838, allocations: 29.7 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.3838, allocations: 88.12 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.3838, allocations: 3.906 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.3839, allocations: 21.72 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.384, allocations: 310.8 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3841, allocations: 39.89 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3843, allocations: 27.97 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3845, allocations: 77.05 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3845, allocations: 3.938 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002816/0.3848, allocations: 97.53 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3848, allocations: 5.875 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3849, allocations: 0 / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3849, allocations: 4 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.385, allocations: 23.91 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.385, allocations: 3.938 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.3851, allocations: 11.98 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3852, allocations: 0 / 0.9549 GB, free: 3.969 MB / 0.7325 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 0.000106/0.3853, allocations: 117.8 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3853, allocations: 0 / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.3857, allocations: 109.5 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3857, allocations: 0 / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3857, allocations: 3.984 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3857, allocations: 0 / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3859, allocations: 177.5 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3859, allocations: 0 / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.386, allocations: 15.98 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.386, allocations: 4 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.386, allocations: 0 / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.386, allocations: 3.938 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.386, allocations: 3.984 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3864, allocations: 191.4 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3864, allocations: 89.05 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3865, allocations: 0 / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3866, allocations: 11.98 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.3866, allocations: 3.984 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3866, allocations: 4 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.3867, allocations: 91.56 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3867, allocations: 0 / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002219/0.3869, allocations: 11.91 kB / 0.9557 GB, free: 3.043 MB / 0.7325 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.0001568/0.3871, allocations: 99.25 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.3874, allocations: 71.86 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3874, allocations: 3.938 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3876, allocations: 35.97 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3879, allocations: 17.98 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.3883, allocations: 121.6 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3886, allocations: 0.6844 MB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.3886, allocations: 0 / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.3887, allocations: 15.42 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3887, allocations: 3.938 kB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of Templates: time 0.003193/0.3919, allocations: 0.6795 MB / 0.9574 GB, free: 1.27 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches