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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 106.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.213/3.213, allocations: 497.2 MB / 0.7811 GB, free: 33.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 74.91 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3656, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002513/0.3681, allocations: 0.6771 MB / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3694, allocations: 0.8083 MB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.3695, allocations: 0 / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.3695, allocations: 7.938 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.3696, allocations: 3.938 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.3698, allocations: 7.984 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.3699, allocations: 31.84 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.37, allocations: 3.984 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.3701, allocations: 8 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.3701, allocations: 15.92 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3701, allocations: 0 / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.3701, allocations: 4 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3701, allocations: 0 / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.3702, allocations: 11.94 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3703, allocations: 36.03 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3703, allocations: 0 / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3703, allocations: 0 / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3703, allocations: 4 kB / 1.306 GB, free: 15.85 MB / 1.014 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.000511/0.3708, allocations: 335.5 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3708, allocations: 12.62 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.3709, allocations: 30.75 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.3709, allocations: 0.9375 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3711, allocations: 164.4 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3711, allocations: 4.375 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.3711, allocations: 384 / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3713, allocations: 58.17 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3713, allocations: 3.938 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3713, allocations: 0 / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3713, allocations: 0 / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3715, allocations: 39.89 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3718, allocations: 241 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.372, allocations: 42.5 kB / 1.306 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.372, allocations: 20.89 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3721, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3721, allocations: 34.56 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 2.976e-06/0.3721, allocations: 3.984 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003804/0.3725, allocations: 89.53 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3725, allocations: 55.41 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3727, allocations: 97.86 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3727, allocations: 25.7 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.3727, allocations: 84.12 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3727, allocations: 7.953 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.3728, allocations: 17.84 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3729, allocations: 310.8 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.373, allocations: 19.98 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.3731, allocations: 15.97 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3733, allocations: 44.7 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3733, allocations: 8 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.3735, allocations: 65.66 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3735, allocations: 8 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3735, allocations: 0 / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3735, allocations: 0 / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.3736, allocations: 7.984 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3736, allocations: 4 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3736, allocations: 3.938 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3737, allocations: 8.031 kB / 1.307 GB, free: 13.79 MB / 1.014 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 0.0001064/0.3738, allocations: 117.8 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3738, allocations: 0 / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.374, allocations: 76.72 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.374, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.374, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.374, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3742, allocations: 165.6 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3742, allocations: 0 / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.3743, allocations: 15.98 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3743, allocations: 0 / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3743, allocations: 0 / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3743, allocations: 3.938 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3743, allocations: 0 / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3746, allocations: 171.4 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.3746, allocations: 77.11 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3746, allocations: 7.984 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3747, allocations: 4 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3747, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3748, allocations: 3.984 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.3748, allocations: 83.28 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002148/0.375, allocations: 8.031 kB / 1.308 GB, free: 12.96 MB / 1.014 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.0006776/0.3757, allocations: 0.689 MB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.3759, allocations: 47.92 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3759, allocations: 0 / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.376, allocations: 15.98 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3763, allocations: 10.12 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.3768, allocations: 135.7 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3771, allocations: 0.6808 MB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.3771, allocations: 0 / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3772, allocations: 11.44 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.3772, allocations: 0 / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.4024, allocations: 1.292 MB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.469, allocations: 10.28 kB / 1.311 GB, free: 10.07 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.394593140110373]