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.008222/0.008222, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001568/0.001569, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 63.89 kB / 0.9509 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00325/1.144, allocations: 0.7006 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001895/1.146, allocations: 0.833 MB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/1.146, allocations: 4.781 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/1.146, allocations: 0 / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/1.147, allocations: 10.23 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/1.147, allocations: 15.92 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/1.147, allocations: 38.98 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/1.147, allocations: 11.2 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/1.147, allocations: 16.7 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/1.147, allocations: 26.8 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/1.148, allocations: 12.12 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/1.148, allocations: 3.344 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/1.148, allocations: 7.844 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/1.148, allocations: 17.2 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/1.148, allocations: 36.91 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/1.148, allocations: 4 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.895e-06/1.148, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.148, allocations: 0 / 1.09 GB, free: 4.328 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.000808/1.149, allocations: 365.2 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.535e-05/1.149, allocations: 13.53 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/1.149, allocations: 10.84 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.149, allocations: 174.3 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.149, allocations: 1.75 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/1.149, allocations: 1.688 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/1.149, allocations: 68.81 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/1.149, allocations: 1.188 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.15, allocations: 11.81 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.15, allocations: 5.094 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/1.15, allocations: 63.05 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/1.15, allocations: 266.2 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/1.151, allocations: 62.92 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/1.151, allocations: 37.98 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/1.151, allocations: 3.938 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.151, allocations: 32.42 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/1.151, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005988/1.151, allocations: 129.1 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.151, allocations: 53.2 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.152, allocations: 110.8 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/1.152, allocations: 25.7 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/1.152, allocations: 84.3 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/1.152, allocations: 21.38 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/1.152, allocations: 13 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/1.152, allocations: 318.4 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.152, allocations: 30.89 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.152, allocations: 39.61 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/1.152, allocations: 70.53 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.152, allocations: 3.938 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003198/1.153, allocations: 94.41 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.153, allocations: 6.203 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.153, allocations: 4 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.153, allocations: 0.9688 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.153, allocations: 15.09 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.153, allocations: 1.391 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/1.153, allocations: 11.77 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.153, allocations: 0.6875 kB / 1.092 GB, free: 2.547 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.516e-05/1.153, allocations: 120.5 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/1.153, allocations: 6.875 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/1.154, allocations: 104.4 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/1.154, allocations: 0 / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.154, allocations: 1.734 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.154, allocations: 0 / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/1.154, allocations: 174.7 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.154, allocations: 4.812 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.154, allocations: 20 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.154, allocations: 0.9062 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.154, allocations: 4 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.154, allocations: 0.8125 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.154, allocations: 0.7969 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/1.154, allocations: 202.3 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/1.154, allocations: 83.28 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.154, allocations: 0.7188 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.154, allocations: 11.45 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/1.155, allocations: 8.25 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/1.155, allocations: 0.75 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.713e-05/1.155, allocations: 87.89 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.155, allocations: 0.625 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002252/1.155, allocations: 9.938 kB / 1.093 GB, free: 1.816 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.0002306/1.155, allocations: 100.1 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003878/1.155, allocations: 71.06 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.155, allocations: 0 / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/1.156, allocations: 38.48 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.156, allocations: 13.55 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/1.157, allocations: 114.1 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/1.157, allocations: 0.6806 MB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.606e-05/1.157, allocations: 1.984 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/1.157, allocations: 17.83 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.157, allocations: 1 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Templates: time 0.00375/1.161, allocations: 0.6856 MB / 1.094 GB, free: 0.8047 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