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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008272/0.0008274, allocations: 99.58 kB / 16.02 MB, free: 76 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.001038/0.001038, allocations: 187.7 kB / 16.92 MB, free: 6.746 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004508, allocations: 12 kB / 0.8167 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7651, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001161/0.7664, allocations: 396.8 kB / 0.9561 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.7678, allocations: 0.8071 MB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.7679, allocations: 1.5 kB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.7679, allocations: 0 / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.316e-05/0.768, allocations: 3.984 kB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.7682, allocations: 14.83 kB / 0.9569 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.7683, allocations: 16.91 kB / 0.9569 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.7685, allocations: 9.641 kB / 0.9569 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.7685, allocations: 3.781 kB / 0.9569 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.7686, allocations: 14.67 kB / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.7687, allocations: 1.188 kB / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.7687, allocations: 4.844 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.7687, allocations: 0.9688 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.7688, allocations: 39.94 kB / 0.957 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.925e-05/0.7689, allocations: 10.78 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7689, allocations: 0 / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7689, allocations: 0 / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7689, allocations: 1.031 kB / 0.957 GB, free: 6.68 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.0004675/0.7694, allocations: 345.2 kB / 0.9573 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.7695, allocations: 9.188 kB / 0.9574 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.7695, allocations: 1.938 kB / 0.9574 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.7696, allocations: 166.4 kB / 0.9575 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7697, allocations: 1.594 kB / 0.9575 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.7697, allocations: 1.438 kB / 0.9575 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.77, allocations: 58.3 kB / 0.9576 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.77, allocations: 192 / 0.9576 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.77, allocations: 3.938 kB / 0.9576 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.77, allocations: 1.219 kB / 0.9576 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.7704, allocations: 48.16 kB / 0.9576 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.7708, allocations: 249 kB / 0.9579 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.771, allocations: 51.19 kB / 0.9579 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.7712, allocations: 31.56 kB / 0.9579 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.7712, allocations: 1.031 kB / 0.9579 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7713, allocations: 35.7 kB / 0.958 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/0.7713, allocations: 0 / 0.958 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006334/0.7719, allocations: 99.61 kB / 0.9581 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.772, allocations: 51.41 kB / 0.9581 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.7721, allocations: 103.2 kB / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.7721, allocations: 25.7 kB / 0.9582 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.7721, allocations: 89.58 kB / 0.9583 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.7722, allocations: 9.156 kB / 0.9583 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.7722, allocations: 9.719 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.7723, allocations: 316 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.7724, allocations: 22.61 kB / 0.9587 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.7726, allocations: 21.77 kB / 0.9587 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.7729, allocations: 53.91 kB / 0.9587 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7729, allocations: 0 / 0.9587 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003093/0.7732, allocations: 82.14 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7733, allocations: 6.656 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7733, allocations: 0 / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7733, allocations: 0.8438 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.7734, allocations: 15.98 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7735, allocations: 5.188 kB / 0.9588 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.7736, allocations: 9.984 kB / 0.9589 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.7736, allocations: 0 / 0.9589 GB, free: 4.848 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.377e-05/0.7737, allocations: 112.2 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.7737, allocations: 1.031 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.7741, allocations: 88.03 kB / 0.9591 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7741, allocations: 1.25 kB / 0.9591 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7741, allocations: 0 / 0.9591 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7742, allocations: 0 / 0.9591 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.7744, allocations: 166.7 kB / 0.9592 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7744, allocations: 0 / 0.9592 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.7745, allocations: 16.17 kB / 0.9592 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.7745, allocations: 1.156 kB / 0.9592 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.7745, allocations: 0 / 0.9592 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.7745, allocations: 3.938 kB / 0.9592 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7746, allocations: 1.25 kB / 0.9592 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.7749, allocations: 180.4 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.775, allocations: 78.08 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.775, allocations: 1 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.7752, allocations: 9.578 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.7752, allocations: 4.969 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.7752, allocations: 1.125 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.7753, allocations: 86.66 kB / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7753, allocations: 0 / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003848/0.7757, allocations: 3.531 kB / 0.9596 GB, free: 4.105 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.0001237/0.7758, allocations: 101.5 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.7762, allocations: 46.78 kB / 0.9597 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7762, allocations: 1.219 kB / 0.9597 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.7764, allocations: 24.64 kB / 0.9597 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.7768, allocations: 12.98 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.7772, allocations: 130.5 kB / 0.9599 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.7773, allocations: 0.677 MB / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.7774, allocations: 8.656 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/0.7774, allocations: 0 / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.002837/0.7802, allocations: 0.5318 MB / 0.9611 GB, free: 2.863 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/jenkins1/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