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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001383/0.001383, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5567, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001741/0.5585, allocations: 0.7357 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007504/0.5592, allocations: 0.8079 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.5593, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.5593, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.489e-05/0.5594, allocations: 4 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.5595, allocations: 7.938 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.5596, allocations: 23.92 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.5596, allocations: 8 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.5597, allocations: 7.984 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.5598, allocations: 19.91 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5598, allocations: 3.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.5598, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.5598, allocations: 4 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.5598, allocations: 7.938 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.19e-05/0.5599, allocations: 19.97 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.5599, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5599, allocations: 4 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.5599, allocations: 0 / 1.018 GB, free: 1.113 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.0004024/0.5603, allocations: 339.5 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5604, allocations: 8.031 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.5604, allocations: 34.73 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.5604, allocations: 8.844 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.5605, allocations: 168.3 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.5605, allocations: 384 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.5606, allocations: 384 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.5607, allocations: 54.23 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5607, allocations: 3.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.5607, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5608, allocations: 4 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.5609, allocations: 35.89 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.5612, allocations: 245 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5613, allocations: 38.5 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.5614, allocations: 28.84 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5615, allocations: 3.984 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.5615, allocations: 34.5 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.5615, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003175/0.5618, allocations: 81.64 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.5619, allocations: 51.41 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.5619, allocations: 93.86 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.562, allocations: 29.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.562, allocations: 88.08 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.562, allocations: 8.016 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.5621, allocations: 21.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.5621, allocations: 314.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.5622, allocations: 11.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.5623, allocations: 15.98 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.5625, allocations: 48.81 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5625, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001737/0.5626, allocations: 69.56 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5627, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5627, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5627, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.5628, allocations: 8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.5628, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.5628, allocations: 12.02 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.5628, allocations: 0 / 1.02 GB, free: 15.05 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.795e-05/0.5629, allocations: 118.3 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.5629, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5632, allocations: 76.64 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5632, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5632, allocations: 8.031 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5632, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.5633, allocations: 157.6 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5633, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.5634, allocations: 7.984 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5634, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5634, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5634, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5634, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.5636, allocations: 167.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.5637, allocations: 77.3 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.5637, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.5638, allocations: 7.984 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.5638, allocations: 7.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.5638, allocations: 7.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.5639, allocations: 83.3 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5639, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002039/0.5641, allocations: 0 / 1.021 GB, free: 14.23 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.000486/0.5646, allocations: 0.7007 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.5648, allocations: 35.91 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5648, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.5649, allocations: 23.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.5651, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.5655, allocations: 141.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.5657, allocations: 0.677 MB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.5658, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.5658, allocations: 11.44 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of SimCode: time 1.292e-06/0.5658, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01006/0.5759, allocations: 1.075 MB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.5761, allocations: 197.7 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.128, allocations: 0 / 1.024 GB, free: 11.3 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