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.001099/0.001099, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001122/0.001122, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8343/0.8357, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001724/0.8375, allocations: 0.6716 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.8383, allocations: 0.8055 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.8383, allocations: 0 / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.8384, allocations: 5 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.8384, allocations: 8.594 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.8386, allocations: 4.984 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.8387, allocations: 32.36 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.8388, allocations: 8.562 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.8388, allocations: 9.188 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.8389, allocations: 13.27 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.8389, allocations: 1.969 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.077e-05/0.8389, allocations: 1.656 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.839, allocations: 5.641 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.839, allocations: 7.969 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.8391, allocations: 24.28 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.8391, allocations: 8.656 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8391, allocations: 0.9062 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.8391, allocations: 0 / 1.09 GB, free: 4.418 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.0003894/0.8395, allocations: 328.5 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.8396, allocations: 9.188 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.8396, allocations: 6.781 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.8397, allocations: 171 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.8397, allocations: 1.469 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.8397, allocations: 1.594 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.8399, allocations: 56.56 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.8399, allocations: 1.938 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.8399, allocations: 3.938 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8399, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.8401, allocations: 37.77 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.8404, allocations: 242.3 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.8405, allocations: 48.45 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.8406, allocations: 19 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.8406, allocations: 4.594 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.8407, allocations: 36.36 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.8407, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.841, allocations: 79.52 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.8411, allocations: 53.3 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.8411, allocations: 101 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.8412, allocations: 25.7 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.446e-05/0.8412, allocations: 85.88 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.8412, allocations: 6.016 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.8412, allocations: 17.02 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.8413, allocations: 313.3 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.8414, allocations: 17.02 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.8415, allocations: 18.41 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8416, allocations: 37.25 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.8416, allocations: 4 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.8418, allocations: 75.31 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8418, allocations: 5.375 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8419, allocations: 6.047 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8419, allocations: 0 / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.842, allocations: 8.297 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.842, allocations: 1.062 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.842, allocations: 13.83 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.8421, allocations: 1.406 kB / 1.092 GB, free: 2.707 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.058e-05/0.8421, allocations: 115.8 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8422, allocations: 1.641 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.8424, allocations: 71.8 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8424, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8424, allocations: 1.156 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8424, allocations: 8.031 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.8425, allocations: 160.6 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8425, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.8426, allocations: 8.656 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8426, allocations: 1.062 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.8426, allocations: 0.7969 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8426, allocations: 1.125 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8426, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.8429, allocations: 170.6 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.8429, allocations: 82.89 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.8429, allocations: 4.453 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.843, allocations: 7.453 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.843, allocations: 1.078 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8431, allocations: 1.062 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.8431, allocations: 84.47 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8431, allocations: 4 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002103/0.8433, allocations: 4.25 kB / 1.093 GB, free: 2.008 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.0001137/0.8434, allocations: 100.5 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.8436, allocations: 40.12 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8436, allocations: 0 / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.8437, allocations: 24.36 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.844, allocations: 7.375 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.8443, allocations: 131.2 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.8444, allocations: 0.676 MB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.8444, allocations: 9.453 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.8444, allocations: 3.938 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.001927/0.8463, allocations: 0.5353 MB / 1.094 GB, free: 1.035 MB / 0.8575 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