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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005119/0.005119, 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.001185/0.001185, 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.95/2.95, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3293, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001706/0.3311, allocations: 0.666 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.3319, allocations: 0.8096 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.332, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.332, allocations: 4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.3321, allocations: 3.938 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3322, allocations: 7.984 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.3323, allocations: 23.92 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.3324, allocations: 4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.3325, allocations: 15.92 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.3325, allocations: 8 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3325, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-06/0.3325, allocations: 4 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3326, allocations: 15.91 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.3326, allocations: 8 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.3327, allocations: 19.91 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3327, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3327, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3327, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 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.0003902/0.3331, allocations: 341.2 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3331, allocations: 12.03 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.3332, allocations: 30.75 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.3332, allocations: 8.828 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3333, allocations: 176.2 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-06/0.3333, allocations: 384 / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.3334, allocations: 384 / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3335, allocations: 50.23 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3335, allocations: 7.938 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3336, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3336, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3337, allocations: 39.91 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.334, allocations: 245 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3342, allocations: 46.44 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.3343, allocations: 20.91 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3343, allocations: 4 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3343, allocations: 34.55 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3343, allocations: 0 / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.3347, allocations: 85.69 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.3347, allocations: 51.41 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.3348, allocations: 97.84 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3348, allocations: 25.7 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.3348, allocations: 88.09 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3349, allocations: 7.953 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.3349, allocations: 13.7 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.335, allocations: 314.8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.3351, allocations: 20.02 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.3351, allocations: 15.98 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3353, allocations: 40.81 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3353, allocations: 3.938 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.3355, allocations: 69.67 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3355, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3355, allocations: 3.984 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3356, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.3356, allocations: 8 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3357, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.3357, allocations: 7.984 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3357, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 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.616e-05/0.3358, allocations: 119.2 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3358, allocations: 4 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.336, allocations: 64.97 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3361, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3361, allocations: 11.91 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3361, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3362, allocations: 157.6 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3362, allocations: 7.938 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.3363, allocations: 12.02 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3363, allocations: 3.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3363, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3363, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3363, allocations: 4 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3366, allocations: 167.4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.3366, allocations: 81.11 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3366, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.3367, allocations: 7.984 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3367, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3368, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.3368, allocations: 79.28 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.783e-06/0.3368, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002161/0.337, allocations: 7.938 kB / 1.224 GB, free: 10.11 MB / 0.9825 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.0005325/0.3376, allocations: 0.7007 MB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3378, allocations: 36 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3378, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3379, allocations: 27.91 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3382, allocations: 2.031 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.3387, allocations: 147.5 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3389, allocations: 0.6768 MB / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.3389, allocations: 8.125 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.339, allocations: 11.44 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.339, allocations: 0 / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3556, allocations: 1.284 MB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.783, allocations: 0 / 1.227 GB, free: 7.219 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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