Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.658/1.658, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.447/2.447, allocations: 390.2 MB / 0.6646 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8416, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002263/0.8439, allocations: 0.6656 MB / 0.9502 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.8449, allocations: 0.8121 MB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.845, allocations: 0 / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.845, allocations: 3.938 kB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.8451, allocations: 1.531 kB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.8453, allocations: 17.8 kB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.8454, allocations: 16.5 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.8455, allocations: 8.109 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.8456, allocations: 6.844 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.8457, allocations: 14.67 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.8457, allocations: 2.938 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.8457, allocations: 1.156 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.8458, allocations: 5.766 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.8458, allocations: 9.562 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.47e-05/0.8459, allocations: 23 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.8459, allocations: 5.406 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8459, allocations: 0 / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8459, allocations: 0 / 0.9512 GB, free: 7.969 MB / 0.7169 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.0005271/0.8465, allocations: 339 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.8465, allocations: 9.531 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.8466, allocations: 6.078 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8467, allocations: 165.5 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.8467, allocations: 1.875 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8467, allocations: 8.375 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.8469, allocations: 46.05 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8469, allocations: 192 / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.8469, allocations: 7.938 kB / 0.9517 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.847, allocations: 1.438 kB / 0.9517 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.8471, allocations: 34.72 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.8475, allocations: 252.5 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.8476, allocations: 39.47 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.8477, allocations: 18.56 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8477, allocations: 3.984 kB / 0.952 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.8477, allocations: 31.66 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.8478, allocations: 4 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003486/0.8481, allocations: 80.31 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.8481, allocations: 56.8 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/0.8482, allocations: 102.8 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.8482, allocations: 29.64 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.8482, allocations: 81.86 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.8483, allocations: 11.97 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.8483, allocations: 20.73 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/0.8484, allocations: 316.5 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.8484, allocations: 16.64 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.8485, allocations: 17.3 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.8487, allocations: 43.97 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8487, allocations: 3.938 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.8489, allocations: 63.73 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8489, allocations: 9.172 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.8489, allocations: 1.188 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.8489, allocations: 0 / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.849, allocations: 6.188 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.849, allocations: 4.031 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.8491, allocations: 11.64 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.8491, allocations: 0.7812 kB / 0.9529 GB, free: 6.141 MB / 0.7169 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 5.369e-05/0.8491, allocations: 112.2 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.8492, allocations: 5.094 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.8494, allocations: 78.45 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8494, allocations: 4.031 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.8494, allocations: 1.281 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8494, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.8495, allocations: 157.2 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8495, allocations: 1 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.8496, allocations: 9.578 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8496, allocations: 1.438 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.8496, allocations: 0 / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.8496, allocations: 0 / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/0.8496, allocations: 1.219 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.8498, allocations: 170.6 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.8498, allocations: 78.2 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.8499, allocations: 0 / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.8499, allocations: 8.266 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.85, allocations: 1.5 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.85, allocations: 4 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.85, allocations: 87.64 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.85, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002088/0.8502, allocations: 7.688 kB / 0.9536 GB, free: 5.402 MB / 0.7169 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.0001133/0.8504, allocations: 96.84 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.8506, allocations: 37.5 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8506, allocations: 4.062 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.8507, allocations: 27.97 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.8509, allocations: 9.875 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.8512, allocations: 114.1 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.8513, allocations: 0.6765 MB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.8514, allocations: 8.047 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.8514, allocations: 9.531 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8514, allocations: 0 / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.002275/0.8537, allocations: 426.7 kB / 0.955 GB, free: 4.23 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches