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.001075/0.001075, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002484, allocations: 435.8 kB / 10.33 MB, free: 368 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.000822/0.000822, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009669/0.001789, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9533/0.9533, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.134/1.087, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.384/2.384, allocations: 446.7 MB / 0.6745 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2416/2.625, allocations: 145.9 MB / 0.817 GB, free: 4.25 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.503e-06/1.503e-06, allocations: 0 / 0.8184 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.114e-05, allocations: 4.422 kB / 0.8184 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001208/0.00123, allocations: 0.7612 MB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.001976, allocations: 0.9131 MB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.002002, allocations: 0 / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.002022, allocations: 0 / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.002061, allocations: 15.88 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.616e-05/0.002147, allocations: 15.92 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.791e-05/0.002225, allocations: 47.84 kB / 0.8201 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.002302, allocations: 7.984 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.002379, allocations: 35.92 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.002421, allocations: 19.91 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.002443, allocations: 4 kB / 0.8201 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-06/0.002451, allocations: 4 kB / 0.8202 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.002464, allocations: 4 kB / 0.8202 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.002487, allocations: 11.94 kB / 0.8202 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.473e-05/0.002562, allocations: 19.97 kB / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.002575, allocations: 0 / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002576, allocations: 0 / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.002588, allocations: 3.938 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 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.0003222/0.002911, allocations: 260.5 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.002941, allocations: 12.62 kB / 0.8205 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.002964, allocations: 0.9375 kB / 0.8205 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.00304, allocations: 117.7 kB / 0.8206 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.003051, allocations: 8.359 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.003058, allocations: 384 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003177, allocations: 70.88 kB / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.003183, allocations: 192 / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.00319, allocations: 384 / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003194, allocations: 384 / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.003217, allocations: 11.94 kB / 0.8207 GB, free: 464 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.003405, allocations: 148.4 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/0.003464, allocations: 34.5 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.00348, allocations: 8.953 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.0035, allocations: 3.984 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.00352, allocations: 30.56 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.003521, allocations: 0 / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001103/0.003631, allocations: 45.81 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.003659, allocations: 51.41 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.003723, allocations: 118.7 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.003733, allocations: 29.7 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.00376, allocations: 84.08 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.00378, allocations: 15.84 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.003801, allocations: 9.719 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.003871, allocations: 322.8 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.00388, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.003892, allocations: 7.984 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.003918, allocations: 16.84 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00392, allocations: 0 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.641e-05/0.003966, allocations: 41.69 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.003978, allocations: 4 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.003981, allocations: 4 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.00399, allocations: 7.938 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.004067, allocations: 15.92 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.00407, allocations: 3.938 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.004091, allocations: 4 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.004097, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 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 4.465e-05/0.004142, allocations: 105.8 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.004156, allocations: 7.984 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.004179, allocations: 8 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.004182, allocations: 7.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.004183, allocations: 4 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004185, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.932e-05/0.004265, allocations: 69.88 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004266, allocations: 4 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.004292, allocations: 8 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-06/0.0043, allocations: 11.94 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.004301, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.004304, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.004306, allocations: 4 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.004308, allocations: 3.938 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.379e-05/0.004381, allocations: 139.5 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.004389, allocations: 4 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.004423, allocations: 7.984 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.00445, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.004454, allocations: 7.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.484e-05/0.004469, allocations: 25.12 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004469, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001095/0.004578, allocations: 8 kB / 0.822 GB, free: 14.9 MB / 0.8073 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.868e-05/0.004647, allocations: 80.42 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.004705, allocations: 16.84 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.004709, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.004727, allocations: 16.8 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.004869, allocations: 12 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.005215, allocations: 128.5 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.005245, allocations: 59.34 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.005266, allocations: 8.375 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.005313, allocations: 51.38 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.005314, allocations: 3.938 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of Templates: time 0.002059/0.007372, allocations: 0.7546 MB / 0.8231 GB, free: 13.72 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.0907952869310975]