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.006221/0.006221, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001319/0.001319, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.726/2.726, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3347, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002393/0.3372, allocations: 0.6556 MB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3385, allocations: 0.8277 MB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3386, allocations: 3.938 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.3387, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.3387, allocations: 3.938 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.3389, allocations: 11.98 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.339, allocations: 19.94 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3391, allocations: 7.984 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.3392, allocations: 8 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.3393, allocations: 11.92 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.3393, allocations: 4 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.3393, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.3394, allocations: 11.98 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.3394, allocations: 7.938 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3395, allocations: 23.89 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3395, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3395, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3395, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 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.000514/0.3401, allocations: 347.7 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3401, allocations: 8.031 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.3402, allocations: 30.75 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.3402, allocations: 4.938 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3403, allocations: 168.3 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.3404, allocations: 384 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3404, allocations: 4.375 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3406, allocations: 46.23 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3406, allocations: 3.938 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3406, allocations: 8 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3406, allocations: 0 / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3408, allocations: 31.95 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.3412, allocations: 245 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3413, allocations: 38.44 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.3414, allocations: 32.89 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3415, allocations: 0 / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3415, allocations: 30.56 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3415, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.3418, allocations: 85.58 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3419, allocations: 55.53 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.342, allocations: 97.86 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.342, allocations: 29.7 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.3421, allocations: 84.12 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3421, allocations: 3.953 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3421, allocations: 21.66 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3422, allocations: 310.8 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.3423, allocations: 15.98 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.3424, allocations: 27.91 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3426, allocations: 32.83 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3426, allocations: 3.938 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3428, allocations: 77.61 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3428, allocations: 4 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3428, allocations: 3.984 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3429, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.343, allocations: 11.98 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.343, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.343, allocations: 4 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.343, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 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 9.233e-05/0.3431, allocations: 125.8 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.3432, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3434, allocations: 68.97 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3434, allocations: 7.984 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3434, allocations: 0 / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3435, allocations: 3.938 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3436, allocations: 165.5 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3436, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.3437, allocations: 16.02 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3437, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3437, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3437, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3437, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.344, allocations: 159.5 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3441, allocations: 81.09 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3441, allocations: 11.98 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3442, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3442, allocations: 4 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.3442, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.3443, allocations: 83.27 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3443, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002192/0.3445, allocations: 4 kB / 1.17 GB, free: 2.723 MB / 0.92 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.0006718/0.3452, allocations: 0.6967 MB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.3454, allocations: 39.95 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3454, allocations: 8.094 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.3455, allocations: 19.86 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3459, allocations: 7.938 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.3463, allocations: 135.7 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3466, allocations: 0.6768 MB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.3466, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3467, allocations: 15.5 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3467, allocations: 0 / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.3631, allocations: 1.253 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.058, allocations: 4.641 kB / 1.173 GB, free: 15.86 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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