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.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001904/0.001904, allocations: 195 kB / 16.14 MB, free: 6.645 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.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.573/2.573, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.907/0.9089, allocations: 140.4 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002166/0.9111, allocations: 0.7715 MB / 0.9497 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000902/0.9121, allocations: 0.8271 MB / 0.9505 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.9121, allocations: 0 / 0.9505 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.9122, allocations: 3.938 kB / 0.9505 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.901e-05/0.9123, allocations: 5.312 kB / 0.9505 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.9125, allocations: 14.73 kB / 0.9505 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.545e-05/0.9126, allocations: 44.41 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.9127, allocations: 5.5 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.9128, allocations: 17.42 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.9128, allocations: 21.41 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.9128, allocations: 2.75 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.9129, allocations: 2.75 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.9129, allocations: 7.938 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.9129, allocations: 16.05 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.238e-05/0.913, allocations: 42.73 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.913, allocations: 0 / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.913, allocations: 1.375 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.9131, allocations: 0 / 0.9507 GB, free: 7.727 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.000504/0.9136, allocations: 368 kB / 0.951 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.9136, allocations: 9.406 kB / 0.951 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.9137, allocations: 3.812 kB / 0.951 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.9138, allocations: 173.9 kB / 0.9512 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9138, allocations: 6.156 kB / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.9138, allocations: 5.344 kB / 0.9512 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.9141, allocations: 67.72 kB / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.9141, allocations: 192 / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9141, allocations: 5.562 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.9141, allocations: 0 / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.9144, allocations: 68.2 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.9148, allocations: 267 kB / 0.9516 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.9151, allocations: 55.88 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.9153, allocations: 38.98 kB / 0.9517 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.9153, allocations: 5.234 kB / 0.9517 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.9153, allocations: 35.84 kB / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.9153, allocations: 0 / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006049/0.9159, allocations: 138.3 kB / 0.9519 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.916, allocations: 51.41 kB / 0.9519 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.9161, allocations: 108.8 kB / 0.952 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.9161, allocations: 25.7 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.9162, allocations: 85.67 kB / 0.9521 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.9162, allocations: 13.11 kB / 0.9521 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.9162, allocations: 20.38 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.9163, allocations: 316.3 kB / 0.9525 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.9165, allocations: 33.61 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.9166, allocations: 29.19 kB / 0.9525 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.9169, allocations: 71.12 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9169, allocations: 8.875 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000323/0.9173, allocations: 97.53 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9173, allocations: 4.219 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.9173, allocations: 2.156 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.9173, allocations: 0 / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.9175, allocations: 18.19 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9175, allocations: 4 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.9176, allocations: 10.48 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.9176, allocations: 5.094 kB / 0.9527 GB, free: 5.75 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 7.185e-05/0.9177, allocations: 112.1 kB / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.9177, allocations: 2.531 kB / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.9181, allocations: 111.8 kB / 0.9529 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9181, allocations: 1.375 kB / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9181, allocations: 3.938 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9181, allocations: 0 / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.9183, allocations: 178.2 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9183, allocations: 0 / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.9185, allocations: 14.11 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.9185, allocations: 4 kB / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.9185, allocations: 1.062 kB / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9185, allocations: 4 kB / 0.9531 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9185, allocations: 1.438 kB / 0.9531 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.9189, allocations: 204.1 kB / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.9189, allocations: 78.75 kB / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.9189, allocations: 0 / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9191, allocations: 14.92 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.9191, allocations: 6.141 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.9191, allocations: 1.156 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.9192, allocations: 85.53 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9192, allocations: 0 / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.9194, allocations: 6.469 kB / 0.9535 GB, free: 4.961 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.0001884/0.9196, allocations: 101.3 kB / 0.9536 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.92, allocations: 75.12 kB / 0.9537 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.92, allocations: 0 / 0.9537 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.9201, allocations: 40.88 kB / 0.9537 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.9205, allocations: 16.64 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.9209, allocations: 138.2 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.921, allocations: 0.68 MB / 0.9545 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.9211, allocations: 1.469 kB / 0.9545 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.9211, allocations: 8.75 kB / 0.9546 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9211, allocations: 4 kB / 0.9546 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.002911/0.924, allocations: 0.5394 MB / 0.9551 GB, free: 3.684 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/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