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.0009952/0.0009954, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008428/0.008428, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.645/1.645, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.505/2.505, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 19.98 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.829, allocations: 142.4 MB / 0.9551 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001119/0.8302, allocations: 401 kB / 0.9554 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.8315, allocations: 0.8109 MB / 0.9562 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.8316, allocations: 0 / 0.9562 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.8316, allocations: 1.219 kB / 0.9562 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.8317, allocations: 3.938 kB / 0.9562 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.8319, allocations: 6.844 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.832, allocations: 19.83 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.8321, allocations: 12.05 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.8322, allocations: 14.67 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.8322, allocations: 6.812 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.8322, allocations: 1.406 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.8322, allocations: 0 / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.8323, allocations: 1.469 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.8323, allocations: 38.84 kB / 0.9563 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.921e-05/0.8324, allocations: 15.81 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8324, allocations: 1.562 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8324, allocations: 0 / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.8324, allocations: 0 / 0.9564 GB, free: 6.613 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.0004121/0.8328, allocations: 344.9 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8329, allocations: 10.38 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.8329, allocations: 2.312 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.833, allocations: 161.8 kB / 0.9569 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.8331, allocations: 4.359 kB / 0.9569 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.8331, allocations: 1.625 kB / 0.9569 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.8333, allocations: 54.91 kB / 0.9569 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8333, allocations: 192 / 0.9569 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.8333, allocations: 3.938 kB / 0.9569 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8333, allocations: 5.422 kB / 0.9569 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.8335, allocations: 47.97 kB / 0.957 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.8339, allocations: 253.3 kB / 0.9572 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.834, allocations: 43.69 kB / 0.9572 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/0.8341, allocations: 30.88 kB / 0.9573 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.8342, allocations: 1.094 kB / 0.9573 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.8342, allocations: 35.5 kB / 0.9573 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.8342, allocations: 0 / 0.9573 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004299/0.8346, allocations: 103.3 kB / 0.9574 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.8347, allocations: 51.41 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.8348, allocations: 104.2 kB / 0.9576 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.8348, allocations: 25.7 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.8348, allocations: 85.39 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.8348, allocations: 9.031 kB / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.8349, allocations: 9.719 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.8349, allocations: 316.2 kB / 0.958 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.835, allocations: 26.09 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.8351, allocations: 25.7 kB / 0.958 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.8353, allocations: 53.86 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8353, allocations: 0 / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002107/0.8355, allocations: 82.47 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8356, allocations: 4.469 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.8356, allocations: 0 / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8356, allocations: 1.188 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.8357, allocations: 16.89 kB / 0.9582 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8357, allocations: 0 / 0.9582 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.8358, allocations: 9.922 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.8358, allocations: 1.062 kB / 0.9582 GB, free: 4.781 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 6.156e-05/0.8358, allocations: 115 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.8359, allocations: 1.219 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.8361, allocations: 84.53 kB / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8361, allocations: 0 / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8361, allocations: 1.188 kB / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8361, allocations: 0 / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.8363, allocations: 165.7 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8363, allocations: 1.125 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.8363, allocations: 11.75 kB / 0.9586 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.8364, allocations: 5.094 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.8364, allocations: 4 kB / 0.9586 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8364, allocations: 4.922 kB / 0.9586 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8364, allocations: 0 / 0.9586 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.8366, allocations: 172.6 kB / 0.9587 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.8366, allocations: 82.12 kB / 0.9588 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.8367, allocations: 3.969 kB / 0.9588 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.8367, allocations: 2.719 kB / 0.9588 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.8368, allocations: 9.234 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.8368, allocations: 1.344 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.8368, allocations: 82.91 kB / 0.9589 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8368, allocations: 0 / 0.9589 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002086/0.837, allocations: 3.781 kB / 0.9589 GB, free: 4.043 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.000136/0.8372, allocations: 97.12 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.8374, allocations: 51.17 kB / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8374, allocations: 0 / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.893e-05/0.8376, allocations: 28.73 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.8379, allocations: 10.22 kB / 0.9591 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.8382, allocations: 107.9 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.8384, allocations: 0.6808 MB / 0.9599 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.8384, allocations: 1.188 kB / 0.9599 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.8385, allocations: 8.656 kB / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.8385, allocations: 0 / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.003559/0.842, allocations: 360.3 kB / 0.9602 GB, free: 2.902 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