Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_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_11_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.0008657/0.0008655, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001344/0.001344, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.567/1.567, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.233/3.233, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 15.84 kB / 0.9123 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.428, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001323/0.4294, allocations: 436.4 kB / 1.07 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.4306, allocations: 0.8292 MB / 1.071 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.4307, allocations: 0 / 1.071 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.4307, allocations: 3.984 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.4308, allocations: 3.938 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.431, allocations: 19.97 kB / 1.071 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.4311, allocations: 39.86 kB / 1.071 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.4312, allocations: 12 kB / 1.071 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.4313, allocations: 23.86 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.4314, allocations: 15.92 kB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4314, allocations: 4 kB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.4314, allocations: 0 / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.4315, allocations: 3.984 kB / 1.071 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.4315, allocations: 41.58 kB / 1.071 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.4316, allocations: 39.84 kB / 1.071 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4317, allocations: 0 / 1.071 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4317, allocations: 0 / 1.071 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.4317, allocations: 4 kB / 1.071 GB, free: 9.922 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.000614/0.4323, allocations: 363.7 kB / 1.072 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.4324, allocations: 11.97 kB / 1.072 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.4324, allocations: 4.938 kB / 1.072 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4326, allocations: 180.2 kB / 1.072 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4326, allocations: 8.375 kB / 1.072 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.4326, allocations: 384 / 1.072 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.4329, allocations: 86.14 kB / 1.072 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4329, allocations: 192 / 1.072 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.433, allocations: 3.938 kB / 1.072 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.433, allocations: 4 kB / 1.072 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.4333, allocations: 87.92 kB / 1.072 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.4338, allocations: 261 kB / 1.072 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.4341, allocations: 70.47 kB / 1.072 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.4342, allocations: 52.86 kB / 1.072 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.4343, allocations: 0 / 1.072 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.4343, allocations: 38.56 kB / 1.072 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.4343, allocations: 0 / 1.072 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0007078/0.4351, allocations: 161.5 kB / 1.073 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4351, allocations: 59.34 kB / 1.073 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4353, allocations: 105.8 kB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4353, allocations: 29.7 kB / 1.073 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.4354, allocations: 88.14 kB / 1.073 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.4354, allocations: 7.891 kB / 1.073 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.4355, allocations: 13.7 kB / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4357, allocations: 318.8 kB / 1.073 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.4359, allocations: 43.91 kB / 1.073 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.436, allocations: 47.89 kB / 1.073 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.4364, allocations: 92.78 kB / 1.073 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4364, allocations: 3.938 kB / 1.073 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003805/0.4368, allocations: 121.5 kB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4368, allocations: 8 kB / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4368, allocations: 0 / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4369, allocations: 0 / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.437, allocations: 23.98 kB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4371, allocations: 3.938 kB / 1.074 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.4372, allocations: 19.97 kB / 1.074 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.4372, allocations: 4 kB / 1.074 GB, free: 7.418 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 0.0001382/0.4373, allocations: 117.8 kB / 1.074 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4374, allocations: 0 / 1.074 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.4378, allocations: 129.5 kB / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4378, allocations: 0 / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4378, allocations: 0 / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4378, allocations: 384 / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.4381, allocations: 177.4 kB / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4381, allocations: 0 / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4382, allocations: 27.98 kB / 1.074 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4382, allocations: 0 / 1.074 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.4382, allocations: 3.984 kB / 1.074 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4382, allocations: 7.938 kB / 1.074 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4382, allocations: 0 / 1.074 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.4387, allocations: 215.4 kB / 1.074 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.4387, allocations: 77.11 kB / 1.074 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4388, allocations: 4 kB / 1.074 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4389, allocations: 19.98 kB / 1.074 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.439, allocations: 7.984 kB / 1.074 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.439, allocations: 0 / 1.074 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001046/0.4391, allocations: 87.28 kB / 1.074 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4391, allocations: 0 / 1.074 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002298/0.4393, allocations: 4 kB / 1.074 GB, free: 6.453 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.0002525/0.4396, allocations: 107.2 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.44, allocations: 95.8 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.44, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.4402, allocations: 47.91 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4406, allocations: 17.19 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.441, allocations: 138.6 kB / 1.075 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.4414, allocations: 0.6809 MB / 1.075 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.4414, allocations: 7.984 kB / 1.075 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.4415, allocations: 11.44 kB / 1.075 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of SimCode: time 8.62e-07/0.4415, allocations: 0 / 1.075 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of Templates: time 0.003395/0.4449, allocations: 0.5345 MB / 1.076 GB, free: 4.758 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches