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.001681/0.001681, allocations: 109.3 kB / 15.7 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.001849/0.001849, allocations: 193.2 kB / 16.63 MB, free: 6.613 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.564/1.564, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.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.64/2.64, allocations: 390.3 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 69.41 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3803, allocations: 140.4 MB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002007/0.3824, allocations: 0.7051 MB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3834, allocations: 0.8315 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.3835, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.3835, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.3836, allocations: 7.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.3838, allocations: 11.97 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.3839, allocations: 47.86 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.384, allocations: 11.97 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.3841, allocations: 19.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.3841, allocations: 19.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3842, allocations: 8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.3842, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.3842, allocations: 7.984 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3843, allocations: 19.88 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3844, allocations: 39.86 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3844, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3844, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.3844, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 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.000553/0.385, allocations: 367.4 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.385, allocations: 8.031 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.385, allocations: 8.844 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3852, allocations: 164.3 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3852, allocations: 12.31 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.3852, allocations: 384 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3855, allocations: 70.2 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3855, allocations: 192 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3855, allocations: 11.94 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3855, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.3858, allocations: 59.94 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3862, allocations: 264.9 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3865, allocations: 74.33 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.3866, allocations: 32.92 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3867, allocations: 3.984 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.3867, allocations: 38.56 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3867, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005812/0.3873, allocations: 125.6 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3874, allocations: 55.34 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3875, allocations: 109.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3875, allocations: 29.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3876, allocations: 88.12 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3876, allocations: 11.81 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3876, allocations: 17.72 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3878, allocations: 310.8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.388, allocations: 35.95 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3881, allocations: 27.97 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.3884, allocations: 72.78 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3884, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003196/0.3887, allocations: 97.56 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3888, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3888, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3888, allocations: 3.984 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.389, allocations: 15.98 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.389, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.3891, allocations: 15.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3891, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 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.0001159/0.3892, allocations: 117.8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3892, allocations: 7.906 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.3896, allocations: 105.5 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3896, allocations: 3.984 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3896, allocations: 3.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3897, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3899, allocations: 173.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3899, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.39, allocations: 19.98 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.39, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.39, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.39, allocations: 7.922 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.39, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.3904, allocations: 199.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.3905, allocations: 81.02 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3905, allocations: 0 / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3906, allocations: 15.97 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.3907, allocations: 4.031 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3907, allocations: 4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.3907, allocations: 87.27 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3907, allocations: 3.938 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002132/0.391, allocations: 12 kB / 1.093 GB, free: 12.39 MB / 0.8575 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.000183/0.3911, allocations: 95.78 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3915, allocations: 71.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3915, allocations: 3.938 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3917, allocations: 39.95 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.392, allocations: 10 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.3924, allocations: 125.6 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3927, allocations: 0.6807 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.3927, allocations: 3.984 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.3928, allocations: 15.44 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3928, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.002849/0.3956, allocations: 0.6772 MB / 1.094 GB, free: 10.62 MB / 0.8575 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 -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/jenkins/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