Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 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.001434/0.001434, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 71.11 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2662, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001787/0.268, allocations: 0.6627 MB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008388/0.2689, allocations: 0.8079 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.2689, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.269, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.269, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.2692, allocations: 15.97 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.2692, allocations: 23.92 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.109e-05/0.2693, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.2694, allocations: 15.92 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.172e-05/0.2694, allocations: 8 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.2694, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.2694, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.2694, allocations: 7.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.2695, allocations: 7.984 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.033e-05/0.2695, allocations: 23.89 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2696, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2696, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.2696, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8262 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.0004183/0.27, allocations: 337.2 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.27, allocations: 8.031 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.2701, allocations: 38.62 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.2701, allocations: 12.84 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2702, allocations: 164.4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.2702, allocations: 4.375 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2703, allocations: 4.375 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.2704, allocations: 46.23 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2704, allocations: 11.92 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.2704, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2705, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2706, allocations: 35.91 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.2709, allocations: 244.9 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.2711, allocations: 46.53 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.2712, allocations: 16.91 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2712, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2712, allocations: 30.56 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2712, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.2715, allocations: 89.48 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2716, allocations: 51.41 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.2717, allocations: 110 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2717, allocations: 25.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.2717, allocations: 80.14 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.2718, allocations: 7.906 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2718, allocations: 13.72 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2719, allocations: 314.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.272, allocations: 15.98 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.2721, allocations: 19.98 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2722, allocations: 32.83 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2723, allocations: 3.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.2725, allocations: 73.59 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2725, allocations: 4 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2725, allocations: 8.094 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2725, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.2726, allocations: 7.984 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2726, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.2726, allocations: 7.984 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.2727, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 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 7.071e-05/0.2727, allocations: 113.8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.2728, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.273, allocations: 80.72 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.273, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.273, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.273, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.2732, allocations: 169.5 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2732, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.2733, allocations: 11.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2733, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.2733, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2733, allocations: 4.031 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2733, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.2735, allocations: 163.5 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2736, allocations: 84.95 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.2736, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.2737, allocations: 12.02 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.2737, allocations: 7.938 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2737, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.2738, allocations: 87.45 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2738, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002026/0.274, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 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.0005575/0.2745, allocations: 0.6986 MB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.2747, allocations: 39.91 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2748, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.829e-05/0.2748, allocations: 12.08 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2751, allocations: 16.05 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.2755, allocations: 135.8 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2758, allocations: 0.6729 MB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.2758, allocations: 3.984 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.2758, allocations: 11.44 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2759, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8975/1.173, allocations: 1.244 MB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.12, allocations: 4.281 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches