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: "" <> 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.001135/0.001135, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01118/0.01118, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.306/2.306, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7435, allocations: 142.4 MB / 0.9552 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.000745/0.7443, allocations: 398.3 kB / 0.9556 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.745, allocations: 0.8063 MB / 0.9564 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.7451, allocations: 1.438 kB / 0.9564 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.7451, allocations: 0 / 0.9564 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.7451, allocations: 7.922 kB / 0.9564 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.7453, allocations: 6.719 kB / 0.9564 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.433e-05/0.7453, allocations: 20.95 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.7454, allocations: 2.375 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.7455, allocations: 19.48 kB / 0.9564 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.7455, allocations: 6.969 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.7455, allocations: 1.031 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.7455, allocations: 0.9688 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.7456, allocations: 4.969 kB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.7456, allocations: 35.66 kB / 0.9565 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.613e-05/0.7457, allocations: 23.27 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7457, allocations: 0 / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7457, allocations: 0.9688 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7457, allocations: 0 / 0.9565 GB, free: 6.715 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.0003241/0.746, allocations: 342.2 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7461, allocations: 9.406 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.377e-05/0.7461, allocations: 34.75 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.856e-05/0.7461, allocations: 2.312 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.642e-05/0.7462, allocations: 165.8 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7462, allocations: 1.719 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.7462, allocations: 1.438 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7464, allocations: 63.05 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7464, allocations: 3.938 kB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.7464, allocations: 0 / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.7464, allocations: 0 / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.7466, allocations: 44.94 kB / 0.9571 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.7468, allocations: 248.3 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.747, allocations: 43.84 kB / 0.9574 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.7471, allocations: 32.12 kB / 0.9574 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7471, allocations: 5.344 kB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.7471, allocations: 30.56 kB / 0.9575 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.7471, allocations: 0 / 0.9575 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.7474, allocations: 95.55 kB / 0.9576 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.7475, allocations: 56.72 kB / 0.9576 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.7475, allocations: 98.53 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.7475, allocations: 25.7 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.7476, allocations: 90.02 kB / 0.9578 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.7476, allocations: 7.844 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.7476, allocations: 11.28 kB / 0.9578 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.7477, allocations: 314.8 kB / 0.9581 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.7477, allocations: 30.77 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.7478, allocations: 23.17 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.748, allocations: 44.08 kB / 0.9582 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.748, allocations: 3.938 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.7482, allocations: 87.25 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7482, allocations: 3.938 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7482, allocations: 1.562 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.7482, allocations: 0 / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.7483, allocations: 16.67 kB / 0.9583 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7483, allocations: 0 / 0.9583 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.7484, allocations: 10.77 kB / 0.9583 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.7484, allocations: 0 / 0.9583 GB, free: 4.852 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 4.531e-05/0.7484, allocations: 116.3 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.7485, allocations: 192 / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.7487, allocations: 88.86 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7487, allocations: 0 / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7487, allocations: 1.219 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.7487, allocations: 0 / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.7488, allocations: 169.5 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7488, allocations: 1 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.7489, allocations: 12.84 kB / 0.9587 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7489, allocations: 3.984 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.7489, allocations: 0 / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7489, allocations: 1.5 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7489, allocations: 0 / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.7491, allocations: 181.6 kB / 0.9589 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.7491, allocations: 77.11 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.7492, allocations: 1.781 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.7492, allocations: 9.422 kB / 0.959 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.7493, allocations: 1.781 kB / 0.959 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7493, allocations: 0 / 0.959 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.003e-05/0.7493, allocations: 86.84 kB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7493, allocations: 0 / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002066/0.7495, allocations: 3.594 kB / 0.9591 GB, free: 4.109 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.0003756/0.7499, allocations: 0.7124 MB / 0.9598 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.7501, allocations: 47.62 kB / 0.9598 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7501, allocations: 3.938 kB / 0.9598 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.7502, allocations: 20.48 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.7505, allocations: 9.359 kB / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.7508, allocations: 131 kB / 0.96 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.911e-05/0.7509, allocations: 0.685 MB / 0.9606 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.7509, allocations: 1.375 kB / 0.9606 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.751, allocations: 12.75 kB / 0.9607 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.751, allocations: 0 / 0.9607 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009955/0.7609, allocations: 1.013 MB / 0.9616 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.7611, allocations: 205.9 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.394, allocations: 2.672 kB / 0.9618 GB, free: 1.781 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