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.00102/0.00102, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001154/0.001154, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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 0.9671/0.9671, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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.834/1.834, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.445e-06/2.445e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.903e-05, allocations: 2.281 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001727/0.001746, allocations: 0.6561 MB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002879, allocations: 0.8471 MB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.002919, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.002947, allocations: 3.938 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.003013, allocations: 0 / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.003231, allocations: 19.91 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.699e-05/0.003318, allocations: 27.86 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.003422, allocations: 4 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.003504, allocations: 15.92 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.003543, allocations: 8 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.003559, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.003608, allocations: 8 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.003628, allocations: 11.98 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.003653, allocations: 7.922 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003772, allocations: 23.97 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003774, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003776, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.003781, allocations: 3.984 kB / 1.002 GB, free: 11.81 MB / 0.9636 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.0004266/0.004208, allocations: 262.3 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.00426, allocations: 13.33 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.004301, allocations: 30.75 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.004386, allocations: 8.938 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.7e-05/0.004483, allocations: 101.8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.004496, allocations: 4.375 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.004507, allocations: 4.375 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.00467, allocations: 50.17 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.004679, allocations: 192 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.00469, allocations: 4.375 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.004697, allocations: 4.125 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.004828, allocations: 39.95 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.005174, allocations: 208 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.0053, allocations: 42.48 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.005374, allocations: 24.84 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.005396, allocations: 4 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.005418, allocations: 34.5 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.005419, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003164/0.005736, allocations: 85.64 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.005769, allocations: 51.41 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.005845, allocations: 105.8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.005858, allocations: 25.7 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.0059, allocations: 88.08 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.005922, allocations: 7.891 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.005961, allocations: 17.72 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.006055, allocations: 310.8 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.006135, allocations: 20.09 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.006191, allocations: 19.98 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.006312, allocations: 32.83 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006314, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001653/0.00648, allocations: 73.59 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.006495, allocations: 10.59 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.0065, allocations: 3.938 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.006515, allocations: 4 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.006602, allocations: 11.92 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006608, allocations: 0 / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.006645, allocations: 4 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.00665, allocations: 0 / 1.004 GB, free: 9.945 MB / 0.9636 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 7.235e-05/0.006723, allocations: 117.8 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.00675, allocations: 7.891 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.006961, allocations: 72.97 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006964, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.006969, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006972, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.007122, allocations: 124.8 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007124, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.007181, allocations: 11.98 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.007185, allocations: 3.938 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007192, allocations: 0 / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.007195, allocations: 4.031 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.007198, allocations: 7.875 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.0074, allocations: 159.5 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007411, allocations: 11.94 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.007423, allocations: 0 / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.007492, allocations: 7.984 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.007531, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007534, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.007572, allocations: 87.31 kB / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.007572, allocations: 0 / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002391/0.007811, allocations: 4 kB / 1.005 GB, free: 9.258 MB / 0.9636 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.0004593/0.00827, allocations: 0.7014 MB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.008445, allocations: 31.97 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.008446, allocations: 4.094 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.008512, allocations: 15.98 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.008806, allocations: 11.98 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.009257, allocations: 142.3 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.009309, allocations: 63.34 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.009332, allocations: 0 / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.009369, allocations: 8.5 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.00937, allocations: 4.062 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09484/0.1042, allocations: 1.934 MB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.814, allocations: 8.797 kB / 1.007 GB, free: 6.391 MB / 0.9636 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.504173735156655]