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.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.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.007947/0.007947, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.0017/0.0017, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.63/2.63, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 65.53 kB / 0.9509 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4058, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002188/0.4081, allocations: 0.6738 MB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.4091, allocations: 0.8083 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.4091, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.4091, allocations: 3.844 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.4092, allocations: 3.984 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.4094, allocations: 11.94 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.4095, allocations: 23.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4097, allocations: 11.98 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.4097, allocations: 7.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.4098, allocations: 7.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4098, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.4098, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.4099, allocations: 15.88 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.4099, allocations: 7.922 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.73e-05/0.41, allocations: 15.97 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.41, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.41, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.41, allocations: 0 / 1.09 GB, free: 15.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005464/0.4106, allocations: 339.5 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4106, allocations: 8.031 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.4107, allocations: 8.828 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4108, allocations: 164.4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4108, allocations: 4.375 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.4108, allocations: 384 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.411, allocations: 54.23 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4111, allocations: 4.125 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4111, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4111, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.4112, allocations: 35.91 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.4117, allocations: 248.9 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4118, allocations: 42.5 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.4119, allocations: 20.91 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4119, allocations: 3.984 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4119, allocations: 34.56 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.016e-06/0.4119, allocations: 3.984 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.4123, allocations: 85.58 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4123, allocations: 51.41 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.4124, allocations: 97.86 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4124, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.4125, allocations: 88.05 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4125, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.4125, allocations: 17.83 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4127, allocations: 314.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.471e-05/0.4128, allocations: 15.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.4128, allocations: 11.98 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.413, allocations: 44.75 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.413, allocations: 4.062 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001623/0.4132, allocations: 73.52 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4132, allocations: 7.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4132, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4132, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.4133, allocations: 8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4133, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.4134, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4134, allocations: 4.031 kB / 1.091 GB, free: 13.83 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 (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 7.668e-05/0.4135, allocations: 113.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.4135, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.4137, allocations: 76.7 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4137, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4137, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4137, allocations: 4.031 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4139, allocations: 169.5 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4139, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.414, allocations: 7.984 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.414, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.414, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.414, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.414, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.4142, allocations: 171.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.4143, allocations: 84.95 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.4143, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.4144, allocations: 11.92 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4144, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4144, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.4145, allocations: 83.27 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4145, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002107/0.4147, allocations: 8.031 kB / 1.092 GB, free: 13.01 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 (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.0001566/0.4149, allocations: 99.78 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.4151, allocations: 31.97 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4151, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.4152, allocations: 27.91 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4155, allocations: 13.62 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.4158, allocations: 105.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.416, allocations: 0.6768 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.4161, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.4161, allocations: 7.438 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.4161, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of Templates: time 0.002793/0.4189, allocations: 437.2 kB / 1.093 GB, free: 11.57 MB / 0.8575 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 -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/jenkins/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