Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 215.9 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 72.94 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3973, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00196/0.3993, allocations: 0.6643 MB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.4003, allocations: 0.8515 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.4003, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.4004, allocations: 3.984 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.4004, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.4006, allocations: 15.83 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.4006, allocations: 23.92 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.4007, allocations: 4 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.4008, allocations: 11.98 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.4008, allocations: 11.92 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.4008, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.4009, allocations: 11.98 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.4009, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.4009, allocations: 11.94 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.401, allocations: 24.19 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.401, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.401, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.401, allocations: 3.938 kB / 1.328 GB, free: 15.8 MB / 1.029 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.0004161/0.4015, allocations: 266.3 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4015, allocations: 8.031 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.4015, allocations: 38.73 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.4016, allocations: 8.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.4017, allocations: 102.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4017, allocations: 4.359 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.4017, allocations: 4.375 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4019, allocations: 50.23 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4019, allocations: 3.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.4019, allocations: 3.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4019, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.4021, allocations: 43.89 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.4024, allocations: 216 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.4025, allocations: 42.48 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.4026, allocations: 16.91 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.4027, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4027, allocations: 38.56 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4027, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003558/0.403, allocations: 85.58 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4031, allocations: 51.41 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.4032, allocations: 97.86 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.4032, allocations: 29.69 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.4032, allocations: 84.12 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.4032, allocations: 11.95 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.4033, allocations: 9.719 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.4034, allocations: 314.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.4035, allocations: 24.09 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.4036, allocations: 11.98 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4037, allocations: 36.83 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4037, allocations: 7.875 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.4039, allocations: 73.72 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4039, allocations: 5.719 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4039, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.404, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.404, allocations: 19.92 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4041, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.4041, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4041, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 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 8.211e-05/0.4042, allocations: 118.3 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4042, allocations: 3.953 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.4044, allocations: 76.94 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4044, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4045, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.4045, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4046, allocations: 128.7 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4046, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.4047, allocations: 11.98 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4047, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.4047, allocations: 4.031 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4047, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4047, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4049, allocations: 171.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.405, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.405, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.405, allocations: 7.984 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.4051, allocations: 192 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4051, allocations: 4.031 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.4051, allocations: 87.27 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002133/0.4053, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 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.000586/0.4059, allocations: 0.6967 MB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4061, allocations: 39.94 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.4061, allocations: 0 / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.4062, allocations: 15.98 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4065, allocations: 11.98 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.4069, allocations: 131.9 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.407, allocations: 59.34 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.407, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.4071, allocations: 19.5 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4071, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.4418, allocations: 1.828 MB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 12.42 kB / 1.332 GB, free: 10.48 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.320606394991046]