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.001116/0.001116, allocations: 112.6 kB / 15.99 MB, free: 6.348 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.001134/0.001134, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.176/2.176, allocations: 390.2 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 68.2 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002168/0.3179, allocations: 0.7221 MB / 0.9505 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.3189, allocations: 0.8177 MB / 0.9513 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.3189, allocations: 0 / 0.9513 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.319, allocations: 3.984 kB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.3191, allocations: 3.938 kB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3192, allocations: 8 kB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.025e-05/0.3193, allocations: 19.98 kB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3194, allocations: 11.92 kB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.3195, allocations: 11.92 kB / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.3195, allocations: 12 kB / 0.9514 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3196, allocations: 4 kB / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.3196, allocations: 0 / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3196, allocations: 0 / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.3196, allocations: 15.92 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.765e-05/0.3197, allocations: 15.97 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3197, allocations: 0 / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3197, allocations: 0 / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3197, allocations: 0 / 0.9514 GB, free: 7.586 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.0004514/0.3202, allocations: 335.8 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3203, allocations: 16.03 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.3203, allocations: 0.9375 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3204, allocations: 168.2 kB / 0.9519 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3204, allocations: 4.375 kB / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3205, allocations: 8.359 kB / 0.9519 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3207, allocations: 54.17 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3207, allocations: 4.125 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3207, allocations: 3.938 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3207, allocations: 0 / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.3209, allocations: 39.95 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.3212, allocations: 248.9 kB / 0.9522 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3214, allocations: 38.5 kB / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.3215, allocations: 28.89 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3215, allocations: 0 / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3215, allocations: 38.5 kB / 0.9523 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.3216, allocations: 0 / 0.9523 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.3219, allocations: 73.64 kB / 0.9524 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.322, allocations: 63.53 kB / 0.9525 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.322, allocations: 93.86 kB / 0.9526 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3221, allocations: 25.7 kB / 0.9526 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.3221, allocations: 88.12 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.3221, allocations: 3.906 kB / 0.9527 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3222, allocations: 13.72 kB / 0.9527 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3223, allocations: 314.8 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.3224, allocations: 15.98 kB / 0.953 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.3225, allocations: 23.91 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3226, allocations: 40.83 kB / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3226, allocations: 0 / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.3228, allocations: 65.59 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3228, allocations: 12.09 kB / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3229, allocations: 0 / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3229, allocations: 0 / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.323, allocations: 7.984 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.323, allocations: 0 / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.323, allocations: 4 kB / 0.9532 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.323, allocations: 4 kB / 0.9532 GB, free: 5.559 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 8.056e-05/0.3231, allocations: 119.7 kB / 0.9533 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3232, allocations: 7.906 kB / 0.9533 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3234, allocations: 72.78 kB / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3234, allocations: 0 / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3234, allocations: 0 / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3234, allocations: 3.938 kB / 0.9534 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3236, allocations: 157.6 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3236, allocations: 0 / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.3237, allocations: 11.98 kB / 0.9535 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3237, allocations: 4.031 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3237, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3237, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3237, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3239, allocations: 167.4 kB / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.324, allocations: 77.11 kB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.324, allocations: 16.02 kB / 0.9538 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.3241, allocations: 3.938 kB / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3241, allocations: 4.188 kB / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3241, allocations: 3.984 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.3242, allocations: 87.27 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3242, allocations: 0 / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002153/0.3244, allocations: 4 kB / 0.9539 GB, free: 4.734 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.000143/0.3245, allocations: 95.25 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3248, allocations: 47.89 kB / 0.954 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3248, allocations: 0 / 0.954 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.3249, allocations: 19.98 kB / 0.954 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3252, allocations: 7.875 kB / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.3255, allocations: 138 kB / 0.9542 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3258, allocations: 0.6805 MB / 0.9548 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3258, allocations: 11.44 kB / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.3258, allocations: 0 / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of Templates: time 0.002001/0.3278, allocations: 0.5366 MB / 0.9554 GB, free: 3.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 -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