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.001415/0.001415, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.00115/0.00115, allocations: 183 kB / 17.34 MB, free: 5.742 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.339/1.339, 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.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8652, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001767/0.867, allocations: 0.6665 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008189/0.8679, allocations: 0.8044 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.8679, allocations: 1.125 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.868, allocations: 4.547 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.868, allocations: 3.938 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.8682, allocations: 9.25 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.8682, allocations: 28.56 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.8683, allocations: 8.484 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.8684, allocations: 13.39 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.8684, allocations: 12.48 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.8685, allocations: 2.375 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.8685, allocations: 2.656 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.8685, allocations: 1.266 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.8685, allocations: 10.86 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.8686, allocations: 20.89 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8686, allocations: 0.75 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8686, allocations: 1.125 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.8686, allocations: 0 / 1.09 GB, free: 4.418 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.0003538/0.869, allocations: 337 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.869, allocations: 8.688 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.8691, allocations: 5.938 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.744e-05/0.8691, allocations: 167.5 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.8691, allocations: 2.047 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.8692, allocations: 5.312 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.8693, allocations: 49.27 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8693, allocations: 8.188 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.8694, allocations: 7.938 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8694, allocations: 1.281 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.8695, allocations: 33.02 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.8698, allocations: 246 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.8699, allocations: 53.12 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.87, allocations: 22.94 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.87, allocations: 1.062 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.8701, allocations: 32.61 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8701, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003288/0.8704, allocations: 83.81 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.8704, allocations: 52.75 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.8705, allocations: 101.1 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.8705, allocations: 25.7 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.8705, allocations: 85.89 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.8705, allocations: 1.719 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.8706, allocations: 15.44 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.8706, allocations: 321.3 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.8707, allocations: 17.91 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.8708, allocations: 14.88 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.8709, allocations: 36.86 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8709, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.8711, allocations: 75.48 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8711, allocations: 5.984 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8712, allocations: 4.125 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8712, allocations: 0.9375 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.8713, allocations: 9.219 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.8713, allocations: 3.938 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.8713, allocations: 14.78 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.8713, allocations: 0.9375 kB / 1.092 GB, free: 2.691 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 4.53e-05/0.8714, allocations: 116 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.8714, allocations: 0.9375 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.8716, allocations: 72.55 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8716, allocations: 0 / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8716, allocations: 1.094 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8716, allocations: 0.7031 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.8718, allocations: 159.5 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8718, allocations: 4.031 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.8718, allocations: 9.188 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8718, allocations: 1.094 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.8719, allocations: 0.6094 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8719, allocations: 0 / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8719, allocations: 5.156 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.8721, allocations: 166.6 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.8721, allocations: 82.67 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.8721, allocations: 1.656 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.8722, allocations: 9.469 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.8722, allocations: 6.188 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.8722, allocations: 1.062 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.24e-05/0.8723, allocations: 79.88 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8723, allocations: 0 / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002142/0.8725, allocations: 7.844 kB / 1.093 GB, free: 1.996 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.0001176/0.8726, allocations: 105.7 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.8728, allocations: 39.81 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8728, allocations: 0 / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.8729, allocations: 15.88 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.8732, allocations: 18.81 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.8735, allocations: 126.1 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.8736, allocations: 0.6763 MB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.8736, allocations: 9.234 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.8736, allocations: 3.938 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of Templates: time 0.002046/0.8757, allocations: 0.5332 MB / 1.094 GB, free: 1.02 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/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