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.001652/0.001652, allocations: 104 kB / 15.6 MB, free: 148 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.001529/0.001529, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.344 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.376/2.376, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.6589, allocations: 140.4 MB / 0.9497 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001852/0.6608, allocations: 0.6594 MB / 0.9504 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.6618, allocations: 0.8115 MB / 0.9512 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.6619, allocations: 5.312 kB / 0.9512 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.6619, allocations: 3.938 kB / 0.9512 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.662, allocations: 1.469 kB / 0.9512 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.6622, allocations: 9.484 kB / 0.9512 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.6623, allocations: 25.58 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.6624, allocations: 5.984 kB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.6625, allocations: 11.27 kB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.6626, allocations: 11.25 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.6626, allocations: 3.031 kB / 0.9513 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.6626, allocations: 1.156 kB / 0.9513 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.6626, allocations: 9.453 kB / 0.9513 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.6627, allocations: 13.12 kB / 0.9513 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.683e-05/0.6627, allocations: 20.03 kB / 0.9513 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.6628, allocations: 0 / 0.9513 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6628, allocations: 5.531 kB / 0.9513 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.6628, allocations: 0 / 0.9513 GB, free: 8.027 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.0004535/0.6632, allocations: 338.7 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6633, allocations: 9.094 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.6633, allocations: 35.84 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.6634, allocations: 2.219 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.6635, allocations: 169.9 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6635, allocations: 384 / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.6635, allocations: 1.906 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.6637, allocations: 49.77 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6637, allocations: 3.938 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6637, allocations: 1.656 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6637, allocations: 0 / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.6639, allocations: 37.66 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.6644, allocations: 253.1 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.6645, allocations: 34.88 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.6646, allocations: 23.84 kB / 0.9522 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.6646, allocations: 4 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.6646, allocations: 31.94 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.6646, allocations: 0 / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003794/0.665, allocations: 83.83 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.6651, allocations: 52.78 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.6651, allocations: 106.1 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-06/0.6652, allocations: 27.08 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.6652, allocations: 81.52 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.6652, allocations: 7.844 kB / 0.9526 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.6653, allocations: 16.47 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.6654, allocations: 316.2 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.6655, allocations: 16.23 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.6655, allocations: 25.55 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.6657, allocations: 43.75 kB / 0.953 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6657, allocations: 3.938 kB / 0.953 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.6659, allocations: 60.64 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6659, allocations: 5.188 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6659, allocations: 4.094 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.666, allocations: 1.375 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.6661, allocations: 9.078 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6661, allocations: 5.219 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.6661, allocations: 12.33 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.6662, allocations: 7.922 kB / 0.9531 GB, free: 6.156 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.798e-05/0.6662, allocations: 111.2 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.6663, allocations: 5.344 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.6665, allocations: 79.09 kB / 0.9533 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6665, allocations: 0 / 0.9533 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6665, allocations: 0 / 0.9533 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6665, allocations: 1.375 kB / 0.9533 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.6667, allocations: 161.4 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6667, allocations: 0 / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.6667, allocations: 10.55 kB / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6668, allocations: 0 / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6668, allocations: 5.062 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6668, allocations: 0 / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6668, allocations: 0.9375 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.667, allocations: 162.4 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.667, allocations: 82.2 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.6671, allocations: 1.062 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.6672, allocations: 11.95 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.6672, allocations: 1.531 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.6672, allocations: 0 / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.848e-05/0.6672, allocations: 78.25 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6673, allocations: 0.9375 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002171/0.6675, allocations: 2.875 kB / 0.9538 GB, free: 5.43 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.0004932/0.668, allocations: 0.6996 MB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.6682, allocations: 41.62 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6682, allocations: 0 / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.6683, allocations: 24.11 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.6687, allocations: 6.484 kB / 0.9545 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.6692, allocations: 140.5 kB / 0.9547 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.6695, allocations: 0.6769 MB / 0.9553 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.6695, allocations: 3.984 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.6695, allocations: 9.031 kB / 0.9553 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6696, allocations: 4 kB / 0.9553 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.6976, allocations: 1.235 MB / 0.9565 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/8.218, allocations: 10.23 kB / 0.9566 GB, free: 3.121 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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