Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007594/0.0007594, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.0007695/0.0007695, allocations: 216.7 kB / 23.03 MB, free: 2.965 MB / 13.93 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.023/1.023, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.97/1.97, allocations: 0.5046 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 67.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7581, allocations: 180 MB / 1.352 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001515/0.7597, allocations: 0.6651 MB / 1.353 GB, free: 1 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.7604, allocations: 0.8432 MB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.7604, allocations: 0 / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.7604, allocations: 3.938 kB / 1.354 GB, free: 144 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.7605, allocations: 3.938 kB / 1.354 GB, free: 140 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.7607, allocations: 15.98 kB / 1.354 GB, free: 124 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.7608, allocations: 27.92 kB / 1.354 GB, free: 96 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.7609, allocations: 7.984 kB / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.7609, allocations: 8 kB / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.761, allocations: 15.86 kB / 1.354 GB, free: 64 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.761, allocations: 0 / 1.354 GB, free: 64 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.761, allocations: 8 kB / 1.354 GB, free: 56 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.761, allocations: 0 / 1.354 GB, free: 56 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.7611, allocations: 11.94 kB / 1.354 GB, free: 44 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.7612, allocations: 30.19 kB / 1.354 GB, free: 16 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7612, allocations: 0 / 1.354 GB, free: 16 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7612, allocations: 7.938 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7612, allocations: 0 / 1.354 GB, free: 8 kB / 1.026 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.0003759/0.7616, allocations: 263.9 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7616, allocations: 8.922 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.7616, allocations: 30.75 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.7617, allocations: 16.83 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.7618, allocations: 102.5 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.7618, allocations: 8.375 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.7618, allocations: 384 / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.7619, allocations: 54.23 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7619, allocations: 7.875 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.7619, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7619, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.762, allocations: 35.95 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.7623, allocations: 208 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.7624, allocations: 42.53 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.7624, allocations: 20.91 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.7624, allocations: 7.984 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.7625, allocations: 34.5 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.7625, allocations: 0 / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002062/0.7627, allocations: 85.59 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.7627, allocations: 51.41 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.763, allocations: 101.8 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.7631, allocations: 25.83 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.7631, allocations: 88.14 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.7631, allocations: 3.953 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.7631, allocations: 13.72 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.7632, allocations: 314.8 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.7632, allocations: 19.97 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.7633, allocations: 15.92 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.7633, allocations: 40.89 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7633, allocations: 3.938 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.204e-05/0.7634, allocations: 65.66 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.7634, allocations: 4 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.7635, allocations: 0 / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7635, allocations: 3.938 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.7635, allocations: 11.98 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.7635, allocations: 0 / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.7636, allocations: 16.02 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.7636, allocations: 0 / 1.356 GB, free: 14.14 MB / 1.042 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 5.397e-05/0.7636, allocations: 121.1 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.7636, allocations: 0 / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.7637, allocations: 72.97 kB / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7637, allocations: 0 / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7638, allocations: 0 / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7638, allocations: 0 / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.7639, allocations: 136.7 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.7639, allocations: 3.938 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.7639, allocations: 11.98 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.7639, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.7639, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.7639, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7639, allocations: 4 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.764, allocations: 167.3 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.764, allocations: 8.031 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.764, allocations: 4 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.7641, allocations: 7.984 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.7641, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.7641, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.7641, allocations: 79.28 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7641, allocations: 0 / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001435/0.7643, allocations: 4 kB / 1.356 GB, free: 13.46 MB / 1.042 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.0003008/0.7646, allocations: 0.7006 MB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.7647, allocations: 35.97 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.7647, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.7647, allocations: 19.97 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.7649, allocations: 4 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.7652, allocations: 144.1 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.7653, allocations: 63.28 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.7653, allocations: 3.938 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.7653, allocations: 11.44 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of SimCode: time 5.51e-07/0.7653, allocations: 0 / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07309/0.8384, allocations: 1.786 MB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.954, allocations: 11.12 kB / 1.359 GB, free: 10.73 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.97083534207195]