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.001932/0.001932, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002404/0.002404, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.777 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.27/3.27, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.00214/0.00214, allocations: 70.45 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 176.1 MB / 1.325 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001895/0.3697, allocations: 0.6606 MB / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3708, allocations: 0.8475 MB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.3708, allocations: 0 / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.3708, allocations: 3.938 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.3709, allocations: 7.938 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3711, allocations: 19.97 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.3711, allocations: 27.86 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.3712, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.3713, allocations: 11.98 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.3713, allocations: 11.94 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3713, allocations: 4 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.3713, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3714, allocations: 7.984 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.3714, allocations: 11.98 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.3715, allocations: 24.12 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3715, allocations: 0 / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3715, allocations: 0 / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.3715, allocations: 0 / 1.327 GB, free: 0.6328 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.0004132/0.3719, allocations: 262.3 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3719, allocations: 12.03 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.372, allocations: 34.75 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.372, allocations: 8.859 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.415e-05/0.3721, allocations: 114.5 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3721, allocations: 384 / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.3722, allocations: 8.297 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3723, allocations: 50.23 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3723, allocations: 3.938 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.3723, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3723, allocations: 4 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3725, allocations: 27.97 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.3728, allocations: 223.9 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.373, allocations: 38.5 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.3731, allocations: 24.89 kB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3731, allocations: 0 / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3731, allocations: 34.56 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3731, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003629/0.3735, allocations: 85.58 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3735, allocations: 51.41 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.3736, allocations: 101.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3736, allocations: 25.7 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.3737, allocations: 84.12 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.3737, allocations: 7.953 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.3737, allocations: 13.72 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3738, allocations: 314.8 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.3739, allocations: 23.98 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.374, allocations: 20.09 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3742, allocations: 36.83 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3742, allocations: 3.938 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.3744, allocations: 69.59 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3744, allocations: 8 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3744, allocations: 4.094 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3744, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.3745, allocations: 7.984 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3745, allocations: 4 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.3745, allocations: 4 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.3745, allocations: 0 / 1.328 GB, free: 14.76 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.305e-05/0.3746, allocations: 110.3 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3746, allocations: 11.94 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.3749, allocations: 76.91 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3749, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3749, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3749, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.375, allocations: 132.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.375, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.3751, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3751, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3751, allocations: 3.984 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3751, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3751, allocations: 4.031 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3754, allocations: 163.5 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.3754, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.3754, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.3754, allocations: 4 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.3755, allocations: 7.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3755, allocations: 4.125 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.3755, allocations: 87.27 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3755, allocations: 4.031 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002154/0.3757, allocations: 4 kB / 1.329 GB, free: 14.07 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.0005723/0.3763, allocations: 0.6889 MB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.3765, allocations: 39.95 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3765, allocations: 96 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.3766, allocations: 23.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3769, allocations: 11.92 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.3773, allocations: 135.9 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.853e-05/0.3773, allocations: 59.36 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.3774, allocations: 3.984 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.3774, allocations: 7.438 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3774, allocations: 4.062 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.4061, allocations: 1.804 MB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 13.61 kB / 1.332 GB, free: 11.32 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.740154885221273]