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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008327, allocations: 97.64 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.007208/0.007208, allocations: 169.6 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 14.59 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001052/0.2908, allocations: 404.5 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2921, allocations: 0.8118 MB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.2921, allocations: 4 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.2922, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.2922, allocations: 3.938 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.2924, allocations: 3.984 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.2924, allocations: 23.94 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.2925, allocations: 7.984 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.2926, allocations: 11.94 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.2927, allocations: 7.984 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2927, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.2927, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.2927, allocations: 15.92 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.2928, allocations: 29.64 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.376e-05/0.2928, allocations: 19.95 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2928, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2928, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2929, allocations: 4 kB / 1.06 GB, free: 3.48 MB / 0.8106 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.0005728/0.2934, allocations: 331.8 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2935, allocations: 15.97 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.2935, allocations: 38.73 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.2936, allocations: 0.9375 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2937, allocations: 172.2 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2937, allocations: 4.375 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.2937, allocations: 4.375 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2939, allocations: 54.23 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2939, allocations: 3.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2939, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2939, allocations: 7.938 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.2941, allocations: 47.95 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.2947, allocations: 241 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2948, allocations: 50.44 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.2949, allocations: 28.89 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.295, allocations: 4 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.295, allocations: 30.56 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.295, allocations: 0 / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004634/0.2955, allocations: 93.64 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2955, allocations: 63.28 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.2956, allocations: 102 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.2956, allocations: 25.7 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.2957, allocations: 84.14 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2957, allocations: 11.89 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.2958, allocations: 9.719 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2959, allocations: 310.8 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.296, allocations: 19.98 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.2961, allocations: 23.98 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2963, allocations: 52.88 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2963, allocations: 3.938 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.2965, allocations: 81.59 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2965, allocations: 8 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2965, allocations: 0 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2966, allocations: 32 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.2967, allocations: 12 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2967, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.2967, allocations: 15.89 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2967, allocations: 0 / 1.062 GB, free: 1.332 MB / 0.8106 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 8.208e-05/0.2968, allocations: 109.8 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2969, allocations: 4 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.2971, allocations: 84.77 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2971, allocations: 4.188 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2971, allocations: 0 / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2971, allocations: 3.984 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2973, allocations: 161.5 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2974, allocations: 4.031 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.2974, allocations: 15.92 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2974, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2974, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2974, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2975, allocations: 4 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2977, allocations: 175.5 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2978, allocations: 81.05 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2978, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.2979, allocations: 11.98 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.2979, allocations: 4.031 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2979, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.298, allocations: 83.27 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.298, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002085/0.2982, allocations: 8 kB / 1.063 GB, free: 0.4961 MB / 0.8106 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.001092/0.2993, allocations: 0.7161 MB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.2995, allocations: 48 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2995, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.2996, allocations: 27.91 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.3, allocations: 4 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.3005, allocations: 145.8 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.3009, allocations: 0.6731 MB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.301, allocations: 4 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.301, allocations: 11.42 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of SimCode: time 8.42e-07/0.301, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.3118, allocations: 1.017 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.312, allocations: 194.3 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.031, allocations: 7.938 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches