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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01386/0.01386, allocations: 99.27 kB / 15.73 MB, free: 6.012 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.00368/0.00368, allocations: 196.6 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.577/2.577, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 4.284/4.284, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002444, allocations: 71.88 kB / 0.9505 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733/1.735, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.003204/1.739, allocations: 0.6667 MB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001735/1.74, allocations: 0.8026 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/1.74, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/1.74, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/1.741, allocations: 13.48 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/1.741, allocations: 9.141 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/1.741, allocations: 24.64 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/1.741, allocations: 11.58 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/1.741, allocations: 4.953 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/1.741, allocations: 14.16 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/1.741, allocations: 2.188 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/1.741, allocations: 6.375 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/1.741, allocations: 4.844 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/1.741, allocations: 7.984 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/1.742, allocations: 23.97 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.742, allocations: 4.656 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.956e-06/1.742, allocations: 1.062 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.742, allocations: 0 / 1.089 GB, free: 4.176 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.0005641/1.742, allocations: 331.9 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.398e-05/1.742, allocations: 9.688 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/1.742, allocations: 40.73 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/1.742, allocations: 2.312 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/1.743, allocations: 171.2 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/1.743, allocations: 8.375 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/1.743, allocations: 2.531 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/1.743, allocations: 48.75 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.743, allocations: 3.938 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.743, allocations: 0.7031 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.743, allocations: 0.6875 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/1.743, allocations: 33.09 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/1.744, allocations: 249.4 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/1.744, allocations: 45.08 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/1.744, allocations: 24.14 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/1.744, allocations: 0.7031 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/1.744, allocations: 35.38 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/1.744, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006124/1.745, allocations: 87.98 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.745, allocations: 53.12 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/1.745, allocations: 97.16 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/1.745, allocations: 25.7 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/1.745, allocations: 90.86 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/1.745, allocations: 3.953 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/1.745, allocations: 12.97 kB / 1.09 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/1.745, allocations: 317.4 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.745, allocations: 14.34 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.746, allocations: 18.39 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/1.746, allocations: 41.22 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.746, allocations: 7.875 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003348/1.746, allocations: 67.86 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/1.746, allocations: 4.875 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.746, allocations: 0.6562 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.746, allocations: 0.9375 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.746, allocations: 12.81 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.746, allocations: 4.641 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/1.747, allocations: 6.422 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/1.747, allocations: 0 / 1.091 GB, free: 2.418 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 9.122e-05/1.747, allocations: 116.6 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/1.747, allocations: 5.656 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/1.747, allocations: 75.36 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.747, allocations: 1.125 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.747, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.747, allocations: 0.5156 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/1.747, allocations: 164.3 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.747, allocations: 0 / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/1.747, allocations: 9.516 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.748, allocations: 0 / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/1.748, allocations: 1.25 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/1.748, allocations: 0.6562 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.748, allocations: 0 / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/1.748, allocations: 166.9 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/1.748, allocations: 78.98 kB / 1.091 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/1.748, allocations: 5.781 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.748, allocations: 5.375 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/1.748, allocations: 6.547 kB / 1.091 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.748, allocations: 4.938 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.291e-05/1.748, allocations: 84.27 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/1.748, allocations: 0 / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004274/1.749, allocations: 4 kB / 1.092 GB, free: 1.719 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.0009294/1.75, allocations: 0.6966 MB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004192/1.75, allocations: 35.48 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.75, allocations: 3.938 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.75, allocations: 21 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/1.751, allocations: 2.922 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/1.752, allocations: 140 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/1.752, allocations: 0.6761 MB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.281e-05/1.752, allocations: 1.656 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/1.752, allocations: 12.38 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of SimCode: time 7.31e-07/1.752, allocations: 0 / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/1.787, allocations: 1.27 MB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/13.03, allocations: 1.031 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.csv","/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