Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.0008456/0.0008456, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000825/0.000825, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8782/0.8782, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.436e-05, allocations: 9.094 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001131/0.001155, allocations: 0.6872 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007618/0.001917, allocations: 0.8899 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.00195, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.001976, allocations: 3.938 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.002032, allocations: 7.875 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.002182, allocations: 23.92 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.002257, allocations: 47.84 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.002346, allocations: 7.984 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.002418, allocations: 27.91 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.002455, allocations: 15.98 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.002479, allocations: 4 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.144e-06/0.002486, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.002501, allocations: 8 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.002522, allocations: 15.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.169e-05/0.002603, allocations: 43.86 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002605, allocations: 4 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002606, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.00261, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 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.000362/0.002972, allocations: 288.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.003006, allocations: 8.75 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.003035, allocations: 16.83 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.003299, allocations: 113.7 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.003309, allocations: 4.312 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.003318, allocations: 384 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.003478, allocations: 78.2 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003485, allocations: 192 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003494, allocations: 384 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.003498, allocations: 384 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.003639, allocations: 63.88 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.003899, allocations: 204.6 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.004011, allocations: 62.48 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.004086, allocations: 36.91 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.004104, allocations: 4 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.004121, allocations: 30.56 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004122, allocations: 0 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003094/0.004431, allocations: 141.6 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.004461, allocations: 55.34 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.004522, allocations: 117.8 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004532, allocations: 25.7 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.004566, allocations: 84.92 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.004581, allocations: 7.953 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.004607, allocations: 17.72 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.004684, allocations: 318.8 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.004754, allocations: 31.97 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.004819, allocations: 35.95 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.004948, allocations: 60.8 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00495, allocations: 7.938 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001583/0.005108, allocations: 109.5 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.00512, allocations: 7.938 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005124, allocations: 0 / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.005134, allocations: 0 / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.005207, allocations: 15.98 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005211, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.005246, allocations: 15.98 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.005251, allocations: 0 / 1.005 GB, free: 9.051 MB / 0.9636 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.065e-05/0.005302, allocations: 113.8 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.005315, allocations: 7.938 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.005338, allocations: 7.938 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005339, allocations: 0 / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.005342, allocations: 0 / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005345, allocations: 4 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.005429, allocations: 117.2 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.00543, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.005468, allocations: 19.98 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005469, allocations: 0 / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.005477, allocations: 7.984 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.005479, allocations: 7.938 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00548, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.005665, allocations: 191.4 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005671, allocations: 8 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.005681, allocations: 4 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.005731, allocations: 15.91 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.005766, allocations: 4 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.005768, allocations: 0 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.005798, allocations: 91.27 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005798, allocations: 0 / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001401/0.005938, allocations: 4 kB / 1.005 GB, free: 8.395 MB / 0.9636 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 6.539e-05/0.006003, allocations: 95.25 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.006181, allocations: 71.86 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006182, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.006254, allocations: 35.95 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.006439, allocations: 8 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.006682, allocations: 166.4 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.006723, allocations: 67.33 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.006753, allocations: 16.81 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of SimCode: time 3.11e-07/0.006753, allocations: 0 / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of Templates: time 0.001397/0.00815, allocations: 0.7629 MB / 1.006 GB, free: 7.125 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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: 6.355476890690625]