Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001184/0.001184, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001886/0.00307, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001326/0.001326, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.00244, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9931/0.9931, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0875/1.081, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.954/1.954, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4897/2.444, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: 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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.7294 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.593e-05, allocations: 4.453 kB / 0.7294 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001313/0.001338, allocations: 0.7522 MB / 0.7301 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.002065, allocations: 0.8598 MB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.002094, allocations: 0 / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.002117, allocations: 3.938 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.002156, allocations: 2.953 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.001e-05/0.002206, allocations: 17.38 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.002287, allocations: 43.97 kB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.00237, allocations: 4.984 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.002464, allocations: 37.5 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.002509, allocations: 18.34 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.002529, allocations: 4.812 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.002536, allocations: 4.766 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.002551, allocations: 5.312 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.00258, allocations: 10.12 kB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.00267, allocations: 31.97 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.002686, allocations: 0 / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002687, allocations: 0 / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.002705, allocations: 0.5 kB / 0.7312 GB, free: 2.684 MB / 0.698 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.0003574/0.003062, allocations: 253.4 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.003093, allocations: 8.031 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.003122, allocations: 14.91 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.003204, allocations: 109.8 kB / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.003214, allocations: 384 / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.00322, allocations: 384 / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.00334, allocations: 67.59 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003347, allocations: 1.969 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.003355, allocations: 384 / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.00336, allocations: 2.094 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.003385, allocations: 11.88 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.003603, allocations: 160.2 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.003663, allocations: 27.62 kB / 0.7318 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.003681, allocations: 8.859 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.00369, allocations: 4 kB / 0.7318 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.003712, allocations: 35.59 kB / 0.7318 GB, free: 1.906 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.003713, allocations: 0 / 0.7318 GB, free: 1.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001099/0.003823, allocations: 50.88 kB / 0.7319 GB, free: 1.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.003853, allocations: 52 kB / 0.7319 GB, free: 1.789 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.508e-05/0.003908, allocations: 115.5 kB / 0.732 GB, free: 1.664 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.003918, allocations: 25.7 kB / 0.7321 GB, free: 1.633 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.003949, allocations: 88.09 kB / 0.7321 GB, free: 1.543 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.003966, allocations: 8.688 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.003996, allocations: 17.7 kB / 0.7322 GB, free: 1.512 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.004071, allocations: 319.5 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.004082, allocations: 1.812 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.004093, allocations: 7.938 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.004118, allocations: 20.77 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004119, allocations: 0 / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.895e-05/0.004168, allocations: 46 kB / 0.7325 GB, free: 1.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.004181, allocations: 4.938 kB / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.004185, allocations: 0 / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.004195, allocations: 3.938 kB / 0.7326 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.004272, allocations: 12.52 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.004275, allocations: 1.062 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.004297, allocations: 4 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.004302, allocations: 4.812 kB / 0.7326 GB, free: 1.082 MB / 0.698 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 5.148e-05/0.004354, allocations: 109.8 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.004369, allocations: 8.516 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.00439, allocations: 9.031 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.004392, allocations: 3.938 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.004395, allocations: 0 / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004397, allocations: 0.5938 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.004646, allocations: 69.89 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.004648, allocations: 1.781 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.004684, allocations: 8 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.004692, allocations: 11.94 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.004694, allocations: 0 / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.004697, allocations: 1.219 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004698, allocations: 0 / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.0047, allocations: 3.938 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.367e-05/0.004784, allocations: 141.4 kB / 0.7329 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.004792, allocations: 0 / 0.7329 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.004827, allocations: 11.92 kB / 0.7329 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.004856, allocations: 4 kB / 0.7329 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.004859, allocations: 3.938 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.27e-05/0.004871, allocations: 17.59 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004871, allocations: 0 / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001132/0.004985, allocations: 12.59 kB / 0.733 GB, free: 0.6289 MB / 0.698 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 7.697e-05/0.005062, allocations: 73.17 kB / 0.733 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.152e-05/0.005123, allocations: 18.5 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.005129, allocations: 4 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.005146, allocations: 16.73 kB / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.005309, allocations: 21.66 kB / 0.7331 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.005718, allocations: 130.2 kB / 0.7332 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.005758, allocations: 59.34 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.00578, allocations: 1.281 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.005829, allocations: 55.38 kB / 0.7333 GB, free: 212 kB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/0.00583, allocations: 0.5312 kB / 0.7333 GB, free: 212 kB / 0.698 GB Notification: Performance of Templates: time 0.002225/0.008054, allocations: 0.681 MB / 0.734 GB, free: 15.56 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113003166392446]