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.001501/0.001501, allocations: 100.1 kB / 15.88 MB, free: 12 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.001741/0.001741, allocations: 197.4 kB / 16.79 MB, free: 6.828 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.531 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.355/2.355, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 71.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6883, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001831/0.6902, allocations: 0.7619 MB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006803/0.6909, allocations: 0.8266 MB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.6909, allocations: 4 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.6909, allocations: 0 / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.691, allocations: 5.219 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.6912, allocations: 14.67 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.6912, allocations: 44.5 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.6913, allocations: 8.562 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.6914, allocations: 18.17 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.6915, allocations: 18.3 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.6915, allocations: 5.281 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.6915, allocations: 2.375 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.6915, allocations: 17.12 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.6916, allocations: 11.41 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.832e-05/0.6916, allocations: 25.78 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6916, allocations: 1.25 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6916, allocations: 0 / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6917, allocations: 0 / 0.9513 GB, free: 7.723 MB / 0.7169 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.0004408/0.6921, allocations: 369.5 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6921, allocations: 9.188 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.6922, allocations: 2.281 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.2e-05/0.6923, allocations: 170.9 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6923, allocations: 5.656 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.6923, allocations: 1.688 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.6925, allocations: 72.72 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.6925, allocations: 8.125 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6926, allocations: 11.92 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6926, allocations: 1.031 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.6928, allocations: 62.58 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.6931, allocations: 263 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.6933, allocations: 65.06 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.6935, allocations: 35.02 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.6935, allocations: 5.188 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.6935, allocations: 35.84 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6935, allocations: 0 / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004863/0.694, allocations: 133.5 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.694, allocations: 52.84 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.6941, allocations: 115.2 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.6941, allocations: 25.7 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.6942, allocations: 90.89 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.6942, allocations: 13.2 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.6942, allocations: 16.47 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.6943, allocations: 312.2 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.6944, allocations: 32.45 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.6945, allocations: 29.84 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.6948, allocations: 72.53 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6948, allocations: 3.938 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002805/0.6951, allocations: 97.62 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6951, allocations: 8.938 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.6951, allocations: 0 / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6951, allocations: 0 / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.6952, allocations: 23.19 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.6952, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.6953, allocations: 11.64 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.6954, allocations: 0 / 0.9534 GB, free: 5.742 MB / 0.7169 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 4.569e-05/0.6954, allocations: 116.6 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.6954, allocations: 6.312 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.6958, allocations: 104.1 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6958, allocations: 0 / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6958, allocations: 1.438 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6958, allocations: 0 / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.6959, allocations: 176.9 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6959, allocations: 0 / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.696, allocations: 22.61 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.696, allocations: 1.719 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.696, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.696, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.696, allocations: 1.531 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.6964, allocations: 208 kB / 0.954 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.6964, allocations: 78.45 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.6964, allocations: 0 / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.6965, allocations: 14.83 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.6965, allocations: 5.859 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.6966, allocations: 1.656 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.6966, allocations: 88.81 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6966, allocations: 1.156 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002136/0.6968, allocations: 9.562 kB / 0.9542 GB, free: 4.945 MB / 0.7169 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.0001014/0.6969, allocations: 106.3 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.6972, allocations: 66.67 kB / 0.9544 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6972, allocations: 0 / 0.9544 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.6974, allocations: 40.75 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.6976, allocations: 12.05 kB / 0.9544 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.6979, allocations: 159.6 kB / 0.9546 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.698, allocations: 0.6795 MB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.6981, allocations: 14.16 kB / 0.9552 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.6981, allocations: 0 / 0.9552 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.001801/0.6999, allocations: 0.731 MB / 0.9559 GB, free: 3.559 MB / 0.7169 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