Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8876/0.8876, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.757/1.757, allocations: 389.1 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.475e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001456/0.001481, allocations: 0.6547 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.002226, allocations: 0.8471 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.002256, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.002281, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.938e-05/0.002341, allocations: 11.88 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.002511, allocations: 11.92 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.002575, allocations: 27.92 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.002659, allocations: 7.984 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.00272, allocations: 15.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.002751, allocations: 7.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002765, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.002803, allocations: 7.984 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.002817, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.002833, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.095e-05/0.002924, allocations: 27.94 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002926, allocations: 7.938 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002927, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.00293, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 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.0003096/0.00324, allocations: 266.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.003277, allocations: 12.75 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.003337, allocations: 30.75 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.003394, allocations: 0.9375 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.74e-05/0.003462, allocations: 113.7 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.00347, allocations: 384 / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.003478, allocations: 4.375 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.003596, allocations: 46.23 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.003603, allocations: 4.188 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003611, allocations: 8.375 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.003616, allocations: 4.125 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.003699, allocations: 31.95 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.003951, allocations: 216 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.004025, allocations: 42.53 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.004067, allocations: 20.91 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.004085, allocations: 4 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.004106, allocations: 38.5 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.004107, allocations: 0 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002128/0.004319, allocations: 81.58 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.004348, allocations: 55.41 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.0044, allocations: 97.84 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.00441, allocations: 29.7 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.004444, allocations: 80.14 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.004461, allocations: 16.02 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.004484, allocations: 9.719 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.004558, allocations: 314.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.004598, allocations: 19.97 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.004632, allocations: 15.98 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.262e-05/0.004704, allocations: 36.83 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004706, allocations: 8 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.004807, allocations: 73.53 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.00482, allocations: 4 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004825, allocations: 3.938 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.004838, allocations: 0 / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.004902, allocations: 11.98 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.004906, allocations: 0 / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.004929, allocations: 7.984 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.004934, allocations: 4.031 kB / 1.003 GB, free: 9.918 MB / 0.9636 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 5.423e-05/0.004988, allocations: 109.8 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.005004, allocations: 11.89 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.005131, allocations: 64.97 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005133, allocations: 0 / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.005137, allocations: 0 / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.00514, allocations: 4 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.566e-05/0.005236, allocations: 128.7 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005236, allocations: 4.031 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.00526, allocations: 7.984 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005263, allocations: 3.938 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005268, allocations: 4 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.00527, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.00527, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.005383, allocations: 159.7 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-06/0.00539, allocations: 7.922 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.005399, allocations: 8.031 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.005435, allocations: 7.984 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.005464, allocations: 4 kB / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.005466, allocations: 0 / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.00549, allocations: 87.27 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00549, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001351/0.005626, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 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.0002725/0.005898, allocations: 0.6968 MB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.006009, allocations: 35.97 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.00601, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.006049, allocations: 23.91 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.00626, allocations: 4 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.00658, allocations: 139.3 kB / 1.004 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.006623, allocations: 67.28 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.846e-05/0.006642, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.006674, allocations: 8.5 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.006675, allocations: 7.938 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.01967, allocations: 1.953 MB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/6.406, allocations: 5.406 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.427295122295618]