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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001289/0.001289, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001358/0.001358, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9894/0.9909, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002984/0.994, allocations: 0.6992 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.9957, allocations: 0.833 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.9958, allocations: 0 / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.9958, allocations: 5.641 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.996, allocations: 5.703 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.9962, allocations: 23.89 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.9963, allocations: 42.42 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.9964, allocations: 15.44 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.9965, allocations: 20.55 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.9966, allocations: 18.97 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.9966, allocations: 4.406 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.9966, allocations: 3.281 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.9966, allocations: 6.938 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.9967, allocations: 21.02 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.9968, allocations: 44.89 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9968, allocations: 0.5156 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.916e-06/0.9968, allocations: 1.188 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.9968, allocations: 4 kB / 1.09 GB, free: 4.324 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.0006028/0.9975, allocations: 359.1 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.9975, allocations: 10.34 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.9976, allocations: 6.938 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.9977, allocations: 169.6 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.9977, allocations: 1.641 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.9977, allocations: 6.25 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.998, allocations: 69.08 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.998, allocations: 1.25 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.998, allocations: 7.938 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.998, allocations: 4.906 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.9984, allocations: 66.06 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.9987, allocations: 266 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.999, allocations: 59.83 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.9992, allocations: 36.91 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.9992, allocations: 1.703 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.9992, allocations: 35.62 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.9992, allocations: 0 / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006995/0.9999, allocations: 129.4 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1, allocations: 51.41 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1, allocations: 116.6 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/1, allocations: 25.7 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/1, allocations: 87.34 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/1, allocations: 17.52 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/1, allocations: 13.75 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/1, allocations: 318.4 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/1.001, allocations: 29.94 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/1.001, allocations: 35.69 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/1.001, allocations: 70.3 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.001, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003722/1.001, allocations: 103.5 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.001, allocations: 9.188 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.001, allocations: 4 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/1.002, allocations: 1.766 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/1.002, allocations: 15.11 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.002, allocations: 1.094 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/1.002, allocations: 11.3 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/1.002, allocations: 1.219 kB / 1.092 GB, free: 2.551 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 6.634e-05/1.002, allocations: 121 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/1.002, allocations: 5.953 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/1.002, allocations: 108.5 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.002, allocations: 0.75 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.002, allocations: 0.8438 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/1.002, allocations: 86.62 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/1.002, allocations: 2.141 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.002, allocations: 10.47 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/1.003, allocations: 12.52 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004782/1.003, allocations: 184.1 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004038/1.003, allocations: 277.4 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001762/1.004, allocations: 33.81 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.857e-05/1.004, allocations: 91.98 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of Backend: time 3.21e-07/1.004, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005466/1.004, allocations: 112.8 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005465/1.005, allocations: 0.5662 MB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of Templates: time 0.003922/1.009, allocations: 0.8532 MB / 1.095 GB, free: 1.098 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/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