Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_10_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.00178/0.00178, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001721/0.001721, allocations: 194.2 kB / 16.26 MB, free: 6.637 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.287/1.287, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 72.14 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6553, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001837/0.6572, allocations: 0.7357 MB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.658, allocations: 0.8079 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.6581, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.6581, allocations: 3.938 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.6582, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.6583, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.6584, allocations: 27.92 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.6585, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.6586, allocations: 15.92 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.6586, allocations: 8 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.6586, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.6587, allocations: 4 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.6587, allocations: 11.91 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.6587, allocations: 8 kB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.296e-05/0.6588, allocations: 23.91 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6588, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6588, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6588, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.7637 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.0004121/0.6592, allocations: 333.7 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6593, allocations: 12.03 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.6593, allocations: 30.75 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.6593, allocations: 4.938 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.674e-05/0.6594, allocations: 176.2 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.6595, allocations: 384 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.6595, allocations: 384 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.6596, allocations: 54.23 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6597, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.6597, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6597, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.6598, allocations: 31.97 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.6601, allocations: 256.8 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.6603, allocations: 46.44 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.6604, allocations: 16.91 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.6604, allocations: 4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.6604, allocations: 34.56 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6604, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.6607, allocations: 85.58 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.6608, allocations: 51.41 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.6609, allocations: 101.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.6609, allocations: 25.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.6609, allocations: 88.08 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.661, allocations: 7.906 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.661, allocations: 9.844 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6611, allocations: 318.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.6612, allocations: 19.98 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.6613, allocations: 11.98 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.6614, allocations: 44.81 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6614, allocations: 8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.6616, allocations: 65.61 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6616, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6616, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.6617, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.6617, allocations: 11.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6618, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.6618, allocations: 7.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.6618, allocations: 4.031 kB / 1.02 GB, free: 15.01 MB / 0.7794 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.857e-05/0.6619, allocations: 110.3 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.6619, allocations: 7.906 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.6622, allocations: 68.78 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.6622, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6622, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6622, allocations: 8.016 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.6623, allocations: 157.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6624, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.6624, allocations: 7.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6624, allocations: 3.984 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.6624, allocations: 3.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6624, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6624, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.6627, allocations: 167.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.6627, allocations: 81.11 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.6627, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.6628, allocations: 11.92 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.6629, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.6629, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.6629, allocations: 83.28 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.433e-06/0.6629, allocations: 4.031 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002096/0.6631, allocations: 7.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 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.0005077/0.6636, allocations: 0.7006 MB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.6639, allocations: 36 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6639, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.6639, allocations: 27.91 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.6642, allocations: 6.672 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.6646, allocations: 139.9 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.6649, allocations: 0.6807 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.6649, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.665, allocations: 11.44 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.665, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.6764, allocations: 1.095 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.6766, allocations: 204.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.339, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches