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.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.001557/0.001557, allocations: 107 kB / 17.08 MB, free: 5.965 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.001635/0.001635, allocations: 196.2 kB / 20.03 MB, free: 3.035 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.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 490 MB / 0.7695 GB, free: 3.047 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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 0.002237/0.002237, allocations: 71.89 kB / 1.104 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 164 MB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001955/1.123, allocations: 0.7159 MB / 1.265 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007748/1.124, allocations: 0.8019 MB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/1.124, allocations: 0.75 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/1.124, allocations: 3.938 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/1.124, allocations: 5.469 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.005e-05/1.124, allocations: 14.17 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.975e-05/1.124, allocations: 38.94 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/1.125, allocations: 10.56 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/1.125, allocations: 21.75 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/1.125, allocations: 26.64 kB / 1.266 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/1.125, allocations: 3.875 kB / 1.266 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/1.125, allocations: 3.469 kB / 1.266 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/1.125, allocations: 7.438 kB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/1.125, allocations: 21.48 kB / 1.266 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/1.125, allocations: 39.89 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.125, allocations: 0 / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.125, allocations: 1.125 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.125, allocations: 0 / 1.266 GB, free: 6.145 MB / 0.9981 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.0004626/1.125, allocations: 373.4 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.125, allocations: 9.719 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/1.125, allocations: 7.297 kB / 1.266 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/1.125, allocations: 168.3 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/1.126, allocations: 1.188 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/1.126, allocations: 2.125 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/1.126, allocations: 72.89 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/1.126, allocations: 4.188 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.126, allocations: 4.719 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.126, allocations: 4.844 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/1.126, allocations: 62.06 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/1.126, allocations: 262.8 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/1.127, allocations: 67.19 kB / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/1.127, allocations: 39.8 kB / 1.267 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/1.127, allocations: 1.484 kB / 1.267 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/1.127, allocations: 32.16 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/1.127, allocations: 0 / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005478/1.127, allocations: 135.5 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/1.127, allocations: 52.62 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/1.128, allocations: 111.7 kB / 1.267 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/1.128, allocations: 25.7 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/1.128, allocations: 95.47 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/1.128, allocations: 15.03 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/1.128, allocations: 12.67 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/1.128, allocations: 317.4 kB / 1.267 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/1.128, allocations: 30.66 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/1.128, allocations: 31.17 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/1.128, allocations: 69.98 kB / 1.268 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.128, allocations: 4.812 kB / 1.268 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003304/1.129, allocations: 98.94 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.129, allocations: 8.375 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.129, allocations: 0.75 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.129, allocations: 1.344 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.129, allocations: 18.83 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.129, allocations: 1.375 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/1.129, allocations: 19.64 kB / 1.268 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.129, allocations: 0.8438 kB / 1.268 GB, free: 4.352 MB / 0.9981 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.134e-05/1.129, allocations: 124.2 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/1.129, allocations: 1.438 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/1.129, allocations: 10.64 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.129, allocations: 0.6875 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.129, allocations: 0 / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.129, allocations: 1.328 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/1.129, allocations: 167.2 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.129, allocations: 0 / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/1.129, allocations: 19.73 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/1.129, allocations: 0 / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.129, allocations: 8.781 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.129, allocations: 1.609 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.129, allocations: 0 / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/1.13, allocations: 197.8 kB / 1.268 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/1.13, allocations: 79.19 kB / 1.268 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/1.13, allocations: 5.359 kB / 1.268 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.13, allocations: 14.94 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/1.13, allocations: 3.453 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.13, allocations: 1.562 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.035e-05/1.13, allocations: 87.33 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.13, allocations: 0.7188 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002165/1.13, allocations: 6.344 kB / 1.268 GB, free: 3.68 MB / 0.9981 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.0001118/1.13, allocations: 101.9 kB / 1.268 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003677/1.131, allocations: 67.2 kB / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.131, allocations: 0 / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/1.131, allocations: 38.92 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/1.131, allocations: 21 kB / 1.269 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/1.131, allocations: 151.1 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/1.132, allocations: 0.6804 MB / 1.269 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/1.132, allocations: 10.41 kB / 1.269 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/1.132, allocations: 0 / 1.269 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.00256/1.134, allocations: 0.7403 MB / 1.27 GB, free: 2.656 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.494120443006977]