Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001287/0.001287, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.495/1.495, 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.2-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 73.66 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3742, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002224/0.3764, allocations: 0.6558 MB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3775, allocations: 0.8216 MB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.3775, allocations: 3.938 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.3776, allocations: 0 / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.3777, allocations: 3.938 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3779, allocations: 15.98 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.378, allocations: 19.92 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3781, allocations: 11.98 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.3782, allocations: 7.938 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.3783, allocations: 15.98 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3783, allocations: 0 / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.3783, allocations: 4 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.3783, allocations: 7.938 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3784, allocations: 7.984 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3785, allocations: 19.91 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3785, allocations: 4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3785, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3785, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000601/0.3791, allocations: 339.5 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3792, allocations: 8.031 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.3793, allocations: 4.938 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3794, allocations: 172.2 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3794, allocations: 4.312 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3795, allocations: 384 / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.3797, allocations: 50.23 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3797, allocations: 192 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3797, allocations: 7.875 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3797, allocations: 8 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3799, allocations: 31.95 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.3804, allocations: 245 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3805, allocations: 46.42 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.3806, allocations: 28.91 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3807, allocations: 0 / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3807, allocations: 30.56 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3807, allocations: 0 / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003586/0.3811, allocations: 77.64 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3811, allocations: 59.47 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.3812, allocations: 101.8 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3812, allocations: 29.7 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.3813, allocations: 84.14 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3813, allocations: 3.906 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.3814, allocations: 13.72 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3815, allocations: 314.8 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.3816, allocations: 15.97 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.3817, allocations: 23.92 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3818, allocations: 36.83 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3818, allocations: 0 / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001729/0.382, allocations: 69.59 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.382, allocations: 12.03 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.382, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3821, allocations: 4 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.3822, allocations: 7.984 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3822, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.3822, allocations: 4 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3822, allocations: 0 / 0.9545 GB, free: 4.406 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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 9.701e-05/0.3823, allocations: 119.7 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3824, allocations: 3.906 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.3826, allocations: 72.78 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3826, allocations: 8 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3826, allocations: 0 / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3826, allocations: 0 / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3828, allocations: 157.6 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3828, allocations: 7.922 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.3829, allocations: 7.938 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3829, allocations: 8.031 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3829, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3829, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3829, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3831, allocations: 163.6 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.3832, allocations: 85.08 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3832, allocations: 32 / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.3833, allocations: 8 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.3833, allocations: 7.984 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3834, allocations: 0 / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.3834, allocations: 83.28 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3834, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002111/0.3836, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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.0001484/0.3838, allocations: 99.25 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.384, allocations: 43.89 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.384, allocations: 4 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.3841, allocations: 15.98 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3844, allocations: 12.91 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.3847, allocations: 101.5 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.385, allocations: 0.6846 MB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.3851, allocations: 3.938 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.3851, allocations: 7.438 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.3851, allocations: 4 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of Templates: time 0.002667/0.3878, allocations: 431.6 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches