Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001854/0.001854, allocations: 106.4 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.002082/0.002082, allocations: 191.8 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.486/1.486, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.91 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8851, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002365/0.8874, allocations: 0.7073 MB / 1.214 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.8887, allocations: 0.797 MB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.8888, allocations: 1.125 kB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.8888, allocations: 3.938 kB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.8889, allocations: 9.016 kB / 1.214 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.183e-05/0.889, allocations: 13.14 kB / 1.214 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.8891, allocations: 45.42 kB / 1.215 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.8892, allocations: 11.73 kB / 1.215 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.8893, allocations: 17.36 kB / 1.215 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.8894, allocations: 21.28 kB / 1.215 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.8894, allocations: 4.25 kB / 1.215 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.8894, allocations: 3.125 kB / 1.215 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.8894, allocations: 12.95 kB / 1.215 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.8895, allocations: 15.16 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.8896, allocations: 37.92 kB / 1.215 GB, free: 2.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8896, allocations: 3.938 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8896, allocations: 0 / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.8896, allocations: 5.125 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006351/0.8902, allocations: 378.3 kB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.8903, allocations: 10 kB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.87e-05/0.8904, allocations: 35.44 kB / 1.215 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.8904, allocations: 7.078 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.8905, allocations: 166.9 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.8906, allocations: 6.531 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.8906, allocations: 1.5 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.8909, allocations: 75.05 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.8909, allocations: 5.062 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.8909, allocations: 0 / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8909, allocations: 1.062 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.8912, allocations: 63.11 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.8916, allocations: 279 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.8918, allocations: 54.94 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.892, allocations: 41.47 kB / 1.216 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.892, allocations: 5 kB / 1.216 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.892, allocations: 31.41 kB / 1.216 GB, free: 1.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.892, allocations: 0 / 1.216 GB, free: 1.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005494/0.8926, allocations: 130.2 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.8927, allocations: 59.39 kB / 1.216 GB, free: 1.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.8928, allocations: 108 kB / 1.216 GB, free: 1.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8928, allocations: 25.7 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.8928, allocations: 90.12 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.8929, allocations: 12.94 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.8929, allocations: 12.28 kB / 1.216 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.8931, allocations: 320.5 kB / 1.216 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.8932, allocations: 33.81 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.8933, allocations: 29.09 kB / 1.217 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.8936, allocations: 71.59 kB / 1.217 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8936, allocations: 3.938 kB / 1.217 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.8939, allocations: 97.47 kB / 1.217 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8939, allocations: 5.406 kB / 1.217 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8939, allocations: 3.984 kB / 1.217 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.894, allocations: 5.094 kB / 1.217 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.8941, allocations: 13.17 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8941, allocations: 1.125 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.8942, allocations: 14.27 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.8942, allocations: 1.156 kB / 1.217 GB, free: 0.5078 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.00011/0.8943, allocations: 116 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.8943, allocations: 6.203 kB / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.8944, allocations: 8.984 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8944, allocations: 1.156 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.8944, allocations: 3.938 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8944, allocations: 0 / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.8946, allocations: 169.2 kB / 1.217 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8946, allocations: 5.062 kB / 1.217 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.8947, allocations: 17.61 kB / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.8947, allocations: 4.953 kB / 1.217 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8947, allocations: 0 / 1.217 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8947, allocations: 4.719 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8947, allocations: 0.75 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.8951, allocations: 195.9 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.8952, allocations: 82.25 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8952, allocations: 0.7812 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.8953, allocations: 15.38 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.8954, allocations: 5.281 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.8954, allocations: 1.031 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.8954, allocations: 85.08 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8954, allocations: 5.281 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002237/0.8957, allocations: 9.188 kB / 1.217 GB, free: 15.77 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0007584/0.8964, allocations: 0.7367 MB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.8968, allocations: 65.72 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8968, allocations: 0 / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.8969, allocations: 40.2 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.8972, allocations: 11.69 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.8978, allocations: 169.6 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.8982, allocations: 0.6793 MB / 1.219 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.8982, allocations: 1.062 kB / 1.219 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.8982, allocations: 21.64 kB / 1.219 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.8982, allocations: 0 / 1.219 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.9241, allocations: 1.628 MB / 1.221 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.78, allocations: 2.359 kB / 1.221 GB, free: 13.23 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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: 14.666933175176382]