Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001791/0.001791, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002168/0.002168, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.002/3.002, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.463e-05, allocations: 2.281 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001762/0.001796, allocations: 0.7005 MB / 1.001 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003115, allocations: 0.8276 MB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.00315, allocations: 0 / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.003182, allocations: 3.938 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.003251, allocations: 7.922 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.19e-05/0.003323, allocations: 19.92 kB / 1.002 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.239e-05/0.003415, allocations: 43.84 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.003525, allocations: 11.98 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.003603, allocations: 19.98 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.003646, allocations: 15.92 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.003675, allocations: 4 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.003689, allocations: 8 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003711, allocations: 7.984 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.00374, allocations: 11.94 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003847, allocations: 43.91 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.00385, allocations: 0 / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.51e-07/0.00385, allocations: 0 / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.003859, allocations: 0 / 1.002 GB, free: 5.508 MB / 0.9512 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.0006419/0.004501, allocations: 282.2 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.00454, allocations: 12.03 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.004573, allocations: 8.891 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.004708, allocations: 117.7 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.004716, allocations: 384 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.004732, allocations: 4.375 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.004998, allocations: 70.16 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.005007, allocations: 192 / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005019, allocations: 384 / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.005026, allocations: 4.375 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.005336, allocations: 75.73 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.005696, allocations: 208.6 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.005916, allocations: 54.47 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.006103, allocations: 40.92 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.006114, allocations: 0 / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.006148, allocations: 38.56 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006149, allocations: 0 / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005942/0.006743, allocations: 133.5 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.006786, allocations: 51.41 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006891, allocations: 109.8 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.006908, allocations: 33.64 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.006976, allocations: 84.14 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.007004, allocations: 19.88 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.007038, allocations: 9.719 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002498/0.007288, allocations: 318.8 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.00744, allocations: 23.97 kB / 1.004 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.007603, allocations: 31.95 kB / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.007906, allocations: 72.78 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.00791, allocations: 4 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003455/0.008255, allocations: 101.6 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.008273, allocations: 7.938 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008278, allocations: 0 / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.008291, allocations: 8 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.00843, allocations: 15.92 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.008435, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.00855, allocations: 15.97 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.008556, allocations: 0 / 1.004 GB, free: 3.414 MB / 0.9512 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 9.678e-05/0.008653, allocations: 109.8 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.00868, allocations: 4 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.008712, allocations: 11.94 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.008713, allocations: 4 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008718, allocations: 0 / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.008722, allocations: 0 / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.008888, allocations: 113.3 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008889, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.008999, allocations: 23.97 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.009001, allocations: 3.938 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.009009, allocations: 0 / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.009013, allocations: 3.938 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009014, allocations: 0 / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.00943, allocations: 195.7 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.00944, allocations: 4.047 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.00946, allocations: 11.91 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.00959, allocations: 15.92 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.009635, allocations: 4 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.009639, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.009701, allocations: 95.27 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.009702, allocations: 4 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002328/0.009934, allocations: 8 kB / 1.004 GB, free: 2.754 MB / 0.9512 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.0001323/0.01007, allocations: 95.23 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.01043, allocations: 63.92 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.01043, allocations: 4 kB / 1.004 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.0106, allocations: 43.89 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01094, allocations: 5.875 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.0113, allocations: 132.7 kB / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.376e-05/0.01137, allocations: 67.33 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.0114, allocations: 0 / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.01143, allocations: 16.5 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.01143, allocations: 0 / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of Templates: time 0.00364/0.01507, allocations: 0.7246 MB / 1.005 GB, free: 1.562 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.655796099454165]