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.001709/0.001709, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00169/0.00169, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.498/1.498, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.267/2.267, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.98 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2698, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002083/0.272, allocations: 0.6671 MB / 0.9509 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.2728, allocations: 0.8117 MB / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.2729, allocations: 4 kB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.2729, allocations: 3.938 kB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.273, allocations: 0 / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.2731, allocations: 11.92 kB / 0.9517 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.2732, allocations: 23.98 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2733, allocations: 8 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.2734, allocations: 7.938 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.2734, allocations: 11.98 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2734, allocations: 4 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.2734, allocations: 0 / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2735, allocations: 11.92 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2735, allocations: 11.92 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.488e-05/0.2736, allocations: 19.91 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2736, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2736, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2736, allocations: 4 kB / 0.9518 GB, free: 7.262 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.0004129/0.274, allocations: 335.8 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.274, allocations: 12.03 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.2741, allocations: 0.9375 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/0.2742, allocations: 168.2 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2742, allocations: 8.375 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.2742, allocations: 384 / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2744, allocations: 56.33 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2744, allocations: 4.188 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2744, allocations: 3.938 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2744, allocations: 0 / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.2746, allocations: 39.89 kB / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.2749, allocations: 244.9 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.275, allocations: 46.53 kB / 0.9527 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.2751, allocations: 16.91 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2751, allocations: 0 / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2752, allocations: 38.56 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2752, allocations: 0 / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000325/0.2755, allocations: 81.58 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2755, allocations: 55.41 kB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.2756, allocations: 101.8 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2756, allocations: 25.7 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.2757, allocations: 84.08 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.2757, allocations: 7.906 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2757, allocations: 13.72 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.2758, allocations: 315 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.2759, allocations: 23.97 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.276, allocations: 11.98 kB / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2761, allocations: 40.77 kB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2761, allocations: 0 / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.2763, allocations: 73.66 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2764, allocations: 8 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2764, allocations: 0 / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2764, allocations: 0 / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.2765, allocations: 7.984 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2765, allocations: 4 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.2765, allocations: 7.984 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2765, allocations: 4 kB / 0.9536 GB, free: 5.234 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 6.604e-05/0.2766, allocations: 117.3 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.2766, allocations: 3.906 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.2769, allocations: 76.72 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2769, allocations: 0 / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2769, allocations: 0 / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2769, allocations: 0 / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.277, allocations: 165.6 kB / 0.9539 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.277, allocations: 4 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.2771, allocations: 8 kB / 0.954 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2771, allocations: 0 / 0.954 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2771, allocations: 0 / 0.954 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2771, allocations: 3.984 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2771, allocations: 0 / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.2774, allocations: 167.4 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2774, allocations: 81.09 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2774, allocations: 4 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.2775, allocations: 7.938 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.2775, allocations: 3.984 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2776, allocations: 0 / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.2776, allocations: 83.47 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2776, allocations: 3.938 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002083/0.2778, allocations: 4.031 kB / 0.9543 GB, free: 4.418 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.0001325/0.2779, allocations: 99.25 kB / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.2782, allocations: 39.95 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2782, allocations: 0 / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.2782, allocations: 23.92 kB / 0.9545 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2785, allocations: 12.14 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.2788, allocations: 135.2 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.279, allocations: 0.6805 MB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2791, allocations: 11.44 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.2791, allocations: 0 / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of Templates: time 0.001647/0.2807, allocations: 0.5426 MB / 0.9558 GB, free: 2.816 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 -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