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.00153/0.00153, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001796/0.001796, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.14 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.09 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.838, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002494/0.8406, allocations: 0.6721 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.8419, allocations: 0.8041 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.8419, allocations: 1.188 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.842, allocations: 0 / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.8421, allocations: 9.297 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.8423, allocations: 12.2 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.8424, allocations: 28.23 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.8425, allocations: 4.562 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.8426, allocations: 9.219 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.8426, allocations: 13.55 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.8427, allocations: 2.188 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.8427, allocations: 2.406 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.8427, allocations: 0.6094 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.8427, allocations: 15.72 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.8429, allocations: 20.91 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8429, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8429, allocations: 5.703 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8429, allocations: 0 / 1.09 GB, free: 4.43 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.0004784/0.8434, allocations: 336.3 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.8434, allocations: 9.984 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.8435, allocations: 5.906 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.872e-05/0.8436, allocations: 166.9 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8436, allocations: 5.344 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.8436, allocations: 1.375 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.8438, allocations: 53.91 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.8439, allocations: 192 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8439, allocations: 3.938 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8439, allocations: 0.75 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.8441, allocations: 33.44 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.8444, allocations: 242.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.8446, allocations: 52.11 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.8447, allocations: 23.91 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.8448, allocations: 0.9688 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.8448, allocations: 32.39 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.8448, allocations: 0 / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004252/0.8452, allocations: 83.55 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8453, allocations: 57.08 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.8453, allocations: 96.86 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.8454, allocations: 29.7 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.8454, allocations: 85.75 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.8454, allocations: 1.859 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.8455, allocations: 16.83 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.8455, allocations: 317.4 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.8456, allocations: 13.92 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.8457, allocations: 18.44 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.8459, allocations: 36.52 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8459, allocations: 4.062 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/0.8461, allocations: 71.36 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.8462, allocations: 13.22 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8462, allocations: 1.609 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8462, allocations: 0 / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.8463, allocations: 13.22 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8463, allocations: 0.5625 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.8464, allocations: 6.578 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.8464, allocations: 5.312 kB / 1.092 GB, free: 2.715 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 6.63e-05/0.8465, allocations: 115.2 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.8465, allocations: 1.609 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.8468, allocations: 66.95 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8468, allocations: 1.156 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8468, allocations: 0.7969 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.8468, allocations: 9.406 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.847, allocations: 159.2 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.847, allocations: 4 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.847, allocations: 12.91 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.847, allocations: 0.5625 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8471, allocations: 5.156 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8471, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8471, allocations: 1.922 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.8473, allocations: 162.5 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.8474, allocations: 81.77 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.8474, allocations: 1.797 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.8475, allocations: 7.016 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.8475, allocations: 5.219 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8475, allocations: 1.594 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.8476, allocations: 79.2 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8476, allocations: 4.031 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002129/0.8478, allocations: 3.188 kB / 1.093 GB, free: 2.02 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.000203/0.848, allocations: 102.7 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.8483, allocations: 39.41 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8483, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.8484, allocations: 23.86 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.8487, allocations: 11.12 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.849, allocations: 128.1 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.8491, allocations: 0.6749 MB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.8492, allocations: 16.53 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.8492, allocations: 1.156 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.002194/0.8514, allocations: 0.5385 MB / 1.094 GB, free: 1.035 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