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.0009674/0.0009674, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.001044/0.001044, allocations: 161.7 kB / 23.52 MB, free: 0.918 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.9214/0.9214, allocations: 177.2 MB / 203.9 MB, free: 5.59 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.902/1.902, allocations: 393.3 MB / 0.6383 GB, free: 8.277 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 6.011e-06/6.011e-06, allocations: 0 / 0.8313 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.086e-05/5.687e-05, allocations: 11.06 kB / 0.8313 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002267/0.002324, allocations: 0.705 MB / 0.832 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003561, allocations: 0.8905 MB / 0.8328 GB, free: 9 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.003608, allocations: 1.188 kB / 0.8328 GB, free: 9 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.003644, allocations: 3.938 kB / 0.8328 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.003721, allocations: 12.98 kB / 0.8329 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.003924, allocations: 11.98 kB / 0.8329 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.004028, allocations: 51.84 kB / 0.8329 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.004141, allocations: 1.562 kB / 0.8329 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.004236, allocations: 27.92 kB / 0.8329 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.004289, allocations: 23.95 kB / 0.833 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.004314, allocations: 4 kB / 0.833 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.004326, allocations: 5.5 kB / 0.833 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.004346, allocations: 7.938 kB / 0.833 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.004374, allocations: 11.98 kB / 0.833 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004505, allocations: 43.81 kB / 0.833 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004508, allocations: 1.656 kB / 0.833 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.342e-06/0.00451, allocations: 0 / 0.833 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.004519, allocations: 0 / 0.833 GB, free: 8.801 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.0005429/0.005062, allocations: 291.6 kB / 0.8333 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.00511, allocations: 8.031 kB / 0.8333 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.005157, allocations: 4.938 kB / 0.8333 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.00526, allocations: 121.7 kB / 0.8334 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.005274, allocations: 2.531 kB / 0.8335 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.005289, allocations: 4.375 kB / 0.8335 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.005528, allocations: 66.22 kB / 0.8335 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005537, allocations: 192 / 0.8335 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.005548, allocations: 0.9062 kB / 0.8335 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.005555, allocations: 5.094 kB / 0.8335 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.005764, allocations: 65.95 kB / 0.8336 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.006112, allocations: 212.6 kB / 0.8338 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.006293, allocations: 47.17 kB / 0.8338 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.006414, allocations: 46.41 kB / 0.8339 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.006439, allocations: 0 / 0.8339 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.006464, allocations: 31.59 kB / 0.8339 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.006466, allocations: 0 / 0.8339 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0004472/0.006913, allocations: 139.4 kB / 0.834 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.00695, allocations: 56.77 kB / 0.8341 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.007041, allocations: 109.8 kB / 0.8342 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.007056, allocations: 25.7 kB / 0.8342 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.007105, allocations: 88.12 kB / 0.8343 GB, free: 7.363 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.007127, allocations: 5.422 kB / 0.8343 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.007167, allocations: 21.72 kB / 0.8343 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.007274, allocations: 318.8 kB / 0.8346 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.007394, allocations: 29.03 kB / 0.8347 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.00749, allocations: 29.97 kB / 0.8347 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.007692, allocations: 75.06 kB / 0.8348 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.007694, allocations: 0 / 0.8348 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000256/0.00795, allocations: 105.6 kB / 0.8349 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.00797, allocations: 16.38 kB / 0.8349 GB, free: 6.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.007976, allocations: 1.125 kB / 0.8349 GB, free: 6.758 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.007995, allocations: 4.328 kB / 0.8349 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.008111, allocations: 12.8 kB / 0.8349 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.008116, allocations: 4 kB / 0.8349 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.00817, allocations: 8.922 kB / 0.8349 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.00818, allocations: 4 kB / 0.8349 GB, free: 6.727 MB / 0.7917 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 7.659e-05/0.008257, allocations: 106.6 kB / 0.835 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.008291, allocations: 15.94 kB / 0.835 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.008322, allocations: 13.02 kB / 0.835 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008325, allocations: 0 / 0.835 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.00833, allocations: 0 / 0.835 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.008333, allocations: 4.844 kB / 0.8351 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.008476, allocations: 113.2 kB / 0.8352 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.008478, allocations: 1.344 kB / 0.8352 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/0.008558, allocations: 19.98 kB / 0.8352 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008561, allocations: 0 / 0.8352 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.008569, allocations: 0.9062 kB / 0.8352 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.008573, allocations: 3.938 kB / 0.8352 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008574, allocations: 4.625 kB / 0.8352 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.008879, allocations: 190.8 kB / 0.8354 GB, free: 6.211 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.008889, allocations: 7.953 kB / 0.8354 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.008904, allocations: 0 / 0.8354 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.008997, allocations: 19.92 kB / 0.8354 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.009048, allocations: 3.984 kB / 0.8354 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.009053, allocations: 2.969 kB / 0.8354 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.009107, allocations: 91.27 kB / 0.8355 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.009107, allocations: 0 / 0.8355 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002576/0.009365, allocations: 11.94 kB / 0.8355 GB, free: 6.078 MB / 0.7917 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.000125/0.00949, allocations: 91.25 kB / 0.8356 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.009783, allocations: 64.86 kB / 0.8357 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.009786, allocations: 5.062 kB / 0.8357 GB, free: 5.914 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.009904, allocations: 37.05 kB / 0.8357 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.01027, allocations: 10.5 kB / 0.8357 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.01063, allocations: 129.7 kB / 0.8358 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/0.01069, allocations: 72.39 kB / 0.8359 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.01072, allocations: 0 / 0.8359 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.01076, allocations: 19.88 kB / 0.8359 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/0.01076, allocations: 0 / 0.8359 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of Templates: time 0.003159/0.01392, allocations: 0.7852 MB / 0.8367 GB, free: 4.84 MB / 0.7917 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 -s cvode -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: 5.096234219148755]